qiushang 2 týždňov pred
rodič
commit
36856cb9dc

+ 3 - 3
nsis/test.nsi

@@ -1,16 +1,16 @@
 # ====================== 自定义宏 产品信息==============================
 !define PRODUCT_MID        		    "Ds8JqlRmiiGR"
-!define PRODUCT_VERSION        		"2.3.8.0"
+!define PRODUCT_VERSION        		"2.3.9.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.8.0.7z"
+!define APP_DOWNLOAD_URL    		"https://xy.xingyousoft.com/soft/XYCapture/lastest2.3.9.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.8.0"   # 接卸优惠网址
+!define UNINSTALL_url               "https://xy.xingyousoft.com/soft/XYCapture/uninstallWeb/?v=2.3.9.0"   # 接卸优惠网址
 
 # ====================== 自定义宏 安装信息==============================
 !define INSTALL_7Z_NAME 	   		"app.7z"

+ 1 - 1
package.json

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

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

@@ -309,7 +309,7 @@
 				closeModel: false,
 				closeType: 2,
 				versionType: 2,
-				chromeType: 1,
+				chromeType: 2,
 				chromePath: '',
 				gap: 3,
 				gapRandom: 2,

+ 6 - 1
src/renderer/components/home.vue

@@ -4023,9 +4023,14 @@
 					//console.log(e);
 				}
 				this.loading = false;
+				let duration = 4500;
+				if(e.toString().indexOf('Failed to launch the browser') > -1){
+					duration = 0;
+				}
 				this.$notify.error({
 					title: '提示',
-					message: str
+					message: str,
+					duration: duration
 				});
 			},