From 7ddaf95cbbaa10a7f279a0aed3a2616f81ade68f Mon Sep 17 00:00:00 2001 From: ihaveahax Date: Mon, 29 Jan 2024 22:44:06 -0600 Subject: [PATCH] installer.nsi: fix for winpathmodify changes --- wininstbuild/installer.nsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wininstbuild/installer.nsi b/wininstbuild/installer.nsi index abc8451..747d3b4 100644 --- a/wininstbuild/installer.nsi +++ b/wininstbuild/installer.nsi @@ -107,7 +107,7 @@ Section "ninfs Application" SecInstall SectionEnd Section /o "Add to PATH" SecPATH - ExecWait '"$INSTDIR/winpathmodify.exe" add "$INSTDIR"' + ExecWait '"$INSTDIR/winpathmodify.exe" -add "$INSTDIR"' SectionEnd ;-------------------------------- @@ -131,7 +131,7 @@ Section "Uninstall" SecUninstall Delete "$SMPROGRAMS\$StartMenuFolder\uninstall.lnk" RMDir "$SMPROGRAMS\$StartMenuFolder" - ExecWait '"$INSTDIR/winpathmodify.exe" remove "$INSTDIR"' + ExecWait '"$INSTDIR/winpathmodify.exe" -remove "$INSTDIR"' Delete "$INSTDIR\frozen_application_license.txt" Delete "$INSTDIR\LICENSE.md"