qiushang 3 týždňov pred
rodič
commit
8435b7f6ca

+ 3 - 3
nsis/test.nsi

@@ -1,16 +1,16 @@
 # ====================== 自定义宏 产品信息==============================
 !define PRODUCT_MID        		    "Ds8JqlRmiiGR"
-!define PRODUCT_VERSION        		"2.3.7.0"
+!define PRODUCT_VERSION        		"2.3.8.0"
 !define PRODUCT_NAME           		"星优图片下载助手"
 !define INSTALL_OUTPUT_NAME    		"XYCapture_XY.exe" 
 !define EXE_NAME               		"XYCapture.exe"
 !define PRODUCT_PATHNAME           	"XYCapture"     #安装卸载项用到的KEY,注册表
 !define INSTALL_APPEND_PATH         "XYCapture"     #安装路径追加的名称 
-!define APP_DOWNLOAD_URL    		"https://xy.xingyousoft.com/soft/XYCapture/lastest2.3.7.0.7z"
+!define APP_DOWNLOAD_URL    		"https://xy.xingyousoft.com/soft/XYCapture/lastest2.3.8.0.7z"
 !define PRODUCT_PUBLISHER      	    "苏州星优办公软件有限公司"
 !define PRODUCT_LEGAL          	    "苏州星优办公软件有限公司"
 !define STATISTICS_url              "https://www.xingyousoft.com/api/index/user_log"   # 统计网址
-!define UNINSTALL_url               "https://xy.xingyousoft.com/soft/XYCapture/uninstallWeb/?v=2.3.7.0"   # 接卸优惠网址
+!define UNINSTALL_url               "https://xy.xingyousoft.com/soft/XYCapture/uninstallWeb/?v=2.3.8.0"   # 接卸优惠网址
 
 # ====================== 自定义宏 安装信息==============================
 !define INSTALL_7Z_NAME 	   		"app.7z"

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
 	"name": "XYCapture",
-	"version": "2.3.7.0",
+	"version": "2.3.8.0",
 	"author": "苏州星优办公软件有限公司",
 	"description": "An electron-vue project",
 	"license": "capture",

+ 20 - 20
src/renderer/components/header.vue

@@ -385,27 +385,27 @@
 				this.userInfo = this.$utils.getStorage('userInfo');
 			}
 			
-			if(!this.$utils.getStorage('chromePath')){ // 没有设置浏览器地址的时候判断
-				let flag = true;
-				for(let i = 0; i<this.edgePath.length; i++){
-					if (fs.existsSync(this.edgePath[i])) {
-						flag = false;
-						this.$utils.setStorage('chromePath', this.edgePath[i]);
-						this.$utils.setStorage('chromeType', 1);
-						break;
-					}
-				}
+			// if(!this.$utils.getStorage('chromePath')){ // 没有设置浏览器地址的时候判断
+			// 	let flag = true;
+			// 	for(let i = 0; i<this.edgePath.length; i++){
+			// 		if (fs.existsSync(this.edgePath[i])) {
+			// 			flag = false;
+			// 			this.$utils.setStorage('chromePath', this.edgePath[i]);
+			// 			this.$utils.setStorage('chromeType', 1);
+			// 			break;
+			// 		}
+			// 	}
 				
-				if(flag){ // 当前电脑没有找到edge浏览器
-					this.chromeType = 2;
-					this.$utils.setStorage('chromeType', 2);
-					// this.$notify.error({
-					// 	title: '提示',
-					// 	message: '未扫描到Microsoft Edge浏览器地址,请手动在软件设置中配置浏览器地址,否则软件将无法使用!',
-					// 	duration: 0
-					// });
-				}
-			}
+			// 	if(flag){ // 当前电脑没有找到edge浏览器
+			// 		this.chromeType = 2;
+			// 		this.$utils.setStorage('chromeType', 2);
+			// 		// this.$notify.error({
+			// 		// 	title: '提示',
+			// 		// 	message: '未扫描到Microsoft Edge浏览器地址,请手动在软件设置中配置浏览器地址,否则软件将无法使用!',
+			// 		// 	duration: 0
+			// 		// });
+			// 	}
+			// }
 			
 			window.addEventListener('message', e => {
 				if (e.origin === 'https://www.xingyousoft.com') {

+ 3 - 0
src/renderer/components/home.vue

@@ -3892,6 +3892,9 @@
 			
 			// 下载网址链接的图片
 			async downloadImage(imageUrl, outputPath, urlInfo) {
+				if(imageUrl.indexOf('blob:https://') === 0){
+					return false;
+				}
 				let _this = this;
 				let received_bytes = 0;
 				let total_bytes = 0;