mirror of
https://github.com/rancher-sandbox/rancher-desktop.git
synced 2021-10-13 00:04:06 +03:00
nsis: Fix removing entries from PATH.
Signed-off-by: Mark Yen <mark.yen@suse.com>
This commit is contained in:
@@ -72,7 +72,8 @@
|
|||||||
!macro customUnInstall
|
!macro customUnInstall
|
||||||
# Remove the bin directory from the PATH
|
# Remove the bin directory from the PATH
|
||||||
File "/oname=$PLUGINSDIR\remove-from-path.ps1" "${BUILD_RESOURCES_DIR}\remove-from-path.ps1"
|
File "/oname=$PLUGINSDIR\remove-from-path.ps1" "${BUILD_RESOURCES_DIR}\remove-from-path.ps1"
|
||||||
ExecShellWait '' 'powershell.exe' \
|
nsExec::ExecToLog 'powershell.exe \
|
||||||
'-NoProfile -NonInteractive -ExecutionPolicy RemoteSigned "$PLUGINSDIR\remove-from-path.ps1" "$INSTDIR"' \
|
-NoProfile -NonInteractive -ExecutionPolicy RemoteSigned \
|
||||||
SW_HIDE
|
-File "$PLUGINSDIR\remove-from-path.ps1" "$INSTDIR"'
|
||||||
|
Pop $R0
|
||||||
!macroend
|
!macroend
|
||||||
|
|||||||
Reference in New Issue
Block a user