File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src_assets/windows/misc/path Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8686 echo "PROCESSOR_COUNT: $PROCESSOR_COUNT"
8787
8888 - name : Setup FreeBSD
89- uses : vmactions/freebsd-vm@4807432c7cab1c3f97688665332c0b932062d31f # v1.4.3
89+ uses : vmactions/freebsd-vm@7ca82f79fe3078fecded6d3a2bff094995447bbd # v1.4.4
9090 with :
9191 arch : ${{ matrix.arch }}
9292 cpu : ${{ steps.processor_count.outputs.PROCESSOR_COUNT }}
Original file line number Diff line number Diff line change @@ -94,7 +94,9 @@ if /i "%~1"=="remove" (
9494 rem Only update if path was changed
9595 if " !CHANGES_MADE! " == " 1" (
9696 rem Set the new path in the registry
97- reg add " %KEY_NAME% " /v " %VALUE_NAME% " /t REG_EXPAND_SZ /d " !CURRENT_PATH! " /f
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! "
98100 if !ERRORLEVEL! == 0 (
99101 echo Successfully removed Sunshine directories from PATH
100102 ) else (
You can’t perform that action at this time.
0 commit comments