From ba7af97d7c5aac47a0f2b52db82d6fcc2d28367c Mon Sep 17 00:00:00 2001 From: myllxy <2720190431@qq.com> Date: Sun, 17 Jul 2022 20:17:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3Electron=20app=E5=9C=A8?= =?UTF-8?q?=E9=83=A8=E5=88=86windows7=E4=B8=8A=E8=BF=90=E8=A1=8C=E9=BB=91?= =?UTF-8?q?=E5=B1=8F=E6=88=96=E8=80=85=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/setting.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/setting.html b/src/views/setting.html index b900dcf..8c86a8f 100644 --- a/src/views/setting.html +++ b/src/views/setting.html @@ -332,7 +332,7 @@ } //获取当前文件的绝对路径 ws.create(desktop + dpth.sep + lnkname + ".lnk", { - args: targetUrl + "--" + cacheDir, + args: targetUrl + "--" + cacheDir + " --disable-gpu", //解决Electron app在部分windows7上运行黑屏或者不显示的问题 //打包时修改exe文件路径 target: decodeURIComponent(thisurl) + dpth.sep+"钜星科技便民问诊系统.exe", runStyle: ws.MIN, @@ -408,4 +408,4 @@ } - \ No newline at end of file +