We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8ce4d1 commit 1818b67Copy full SHA for 1818b67
1 file changed
src_assets/windows/misc/path/update-path.bat
@@ -94,6 +94,8 @@ if /i "%~1"=="remove" (
94
rem Only update if path was changed
95
if "!CHANGES_MADE!"=="1" (
96
rem Set the new path in the registry
97
+ rem Windows systems running Chinese may unexpectedly ignore the /f option at the end of the command.
98
+ rem This issue only occurs with the remove command.
99
reg add "%KEY_NAME%" /v "%VALUE_NAME%" /t REG_EXPAND_SZ /f /d "!CURRENT_PATH!"
100
if !ERRORLEVEL!==0 (
101
echo Successfully removed Sunshine directories from PATH
0 commit comments