From 8871660f0e3fee6b575fa6426938de4aa53f246e Mon Sep 17 00:00:00 2001 From: huzibaca Date: Wed, 6 Nov 2024 10:07:02 +0800 Subject: [PATCH] chore: update --- src-tauri/packages/windows/installer.nsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src-tauri/packages/windows/installer.nsi b/src-tauri/packages/windows/installer.nsi index b233dd7..ee8a702 100644 --- a/src-tauri/packages/windows/installer.nsi +++ b/src-tauri/packages/windows/installer.nsi @@ -692,7 +692,10 @@ SectionEnd app_check_done: !macroend -Section "Check and Install VS Runtime" +Var VC_REDIST_URL +Var VC_REDIST_EXE + +Section CheckAndInstallVSRuntime ; Set default values for x86 StrCpy $VC_REDIST_URL "https://aka.ms/vs/17/release/vc_redist.x86.exe" StrCpy $VC_REDIST_EXE "vc_redist.x86.exe"