commit 1b57b0d1927b3c2f89d9fc5011700e85efa859ee parent 7e5bfd02668920ab243ced6506178cf3999c7501 Author: Leayawi <lea.oualli@outlook.fr> Date: Mon, 2 Jun 2025 15:28:43 +0200 .. Diffstat:
| M | taler-installer-taler.nsi | | | 14 | +++++++++----- |
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/taler-installer-taler.nsi b/taler-installer-taler.nsi @@ -255,12 +255,16 @@ Section "Install Taler-Merchant" SendMessage $HWND_PROGRESS_LABEL ${WM_SETTEXT} 0 "STR:Progress: 20%" Sleep 5000 - nsExec::ExecToLog '"$INSTDIR\setup-wsl-debian.bat" 1 "" $WSL_DISTRO' - Pop $0 - ${If} $0 != 0 - MessageBox MB_OK $(MSG_NEED_REBOOT) + nsExec::ExecToLog '"$INSTDIR\setup-wsl-debian.bat" 1 "" $WSL_DISTRO' +Pop $0 +${If} $0 != 0 + MessageBox MB_ICONEXCLAMATION|MB_YESNO $(MSG_NEED_REBOOT) IDYES restart_now IDNO end_installer + restart_now: + Exec '"shutdown.exe" /r /t 0' Quit - ${EndIf} + end_installer: + Quit +${EndIf} MessageBox MB_OK $(MSG_UPDATE_WSL)