From c35e8eb061c6496e247417fd34f46ab11ddbb380 Mon Sep 17 00:00:00 2001 From: Yh793 <69706356+Yh793@users.noreply.github.com> Date: Tue, 15 Oct 2024 08:35:24 +0800 Subject: [PATCH] fix: silent installation script typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit +2: 跳过当前指令和下一条指令 fixes: https://github.com/rime/weasel/commit/8e6b477ea6daec22606f7d42fd4faf67d13a2f65 --- output/install.nsi | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/output/install.nsi b/output/install.nsi index b8254417a..1bcc57737 100644 --- a/output/install.nsi +++ b/output/install.nsi @@ -304,11 +304,7 @@ program_files: ; run as user... IfSilent +2 ExecWait "$INSTDIR\WeaselDeployer.exe /install" - Goto deploy_done - - ExecWait "$INSTDIR\WeaselDeployer.exe /deploy" - deploy_done: - ; ... + ExecWait "$INSTDIR\WeaselDeployer.exe /deploy" ; don't redirect on 64 bit system for auto run setting ${If} ${IsNativeARM64}