Skip to content

Commit 15d7ff7

Browse files
committed
escape quotes for executable path in install script
Ensure the executable path in the installation script has escaped quotes to prevent installation issues with space-contained paths. Signed-off-by: James Knight <git@jdknight.me>
1 parent e4d5696 commit 15d7ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set exe_path="%base_path%\w11asi.exe"
77

88
if exist %exe_path% (
99
reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /t REG_SZ ^
10-
/v "W11ASI" /d "%exe_path%" /f >NUL
10+
/v "W11ASI" /d \"%exe_path%\" /f >NUL
1111
if !ERRORLEVEL! neq 0 exit /b !ERRORLEVEL!
1212

1313
echo W11ASI has been configured to startup.

0 commit comments

Comments
 (0)