Skip to content

Commit

Permalink
backslashes?
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwalVandana committed Jul 23, 2024
1 parent 8a77c7a commit fdccca7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions install-scripts/windows.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Section
; Set output path to the installation directory.
SetOutPath $PROGRAMFILES\maestro-bundle

File dist/maestro/maestro.exe
File /r dist/maestro/_internal
File ..\dist\maestro\maestro.exe
File /r ..\dist\maestro\_internal

; Add $PROGRAMFILES/maestro-bundle to PATH
; Add $PROGRAMFILES\maestro-bundle to PATH
EnVar::AddValue HKCU "Path" "$PROGRAMFILES\maestro-bundle"

; Add uninstaller registry key
Expand All @@ -24,13 +24,13 @@ SectionEnd

; Uninstaller
Section "Uninstall"
; Remove $PROGRAMFILES/maestro-bundle
; Remove $PROGRAMFILES\maestro-bundle
RMDir /r "$PROGRAMFILES\maestro-bundle"

; Remove $PROGRAMFILES/maestro from PATH
; Remove $PROGRAMFILES\maestro from PATH
EnVar::RemoveValue HKCU "Path" "$PROGRAMFILES\maestro-bundle"

; Remove $PROGRAMFILES/maestro-uninstall.exe
; Remove $PROGRAMFILES\maestro-uninstall.exe
Delete "$PROGRAMFILES\maestro-uninstall.exe"

; Remove uninstaller registry key
Expand Down

0 comments on commit fdccca7

Please sign in to comment.