Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add windows installer and tray app #294

Merged
merged 11 commits into from
May 25, 2024
Prev Previous commit
Next Next commit
Update install.nsi
  • Loading branch information
garethgeorge committed May 24, 2024
commit 23cfa0fc7464c7ae572bfb1fa2dacfdd78c4d6f8
8 changes: 1 addition & 7 deletions build/windows/install.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ OutFile "${INSTALLER_NAME}"
BrandingText "${APP_NAME}"
XPStyle on
InstallDirRegKey "${REG_ROOT}" "${REG_APP_PATH}" ""
InstallDir "$PROGRAMFILES\Backrest"
InstallDir "$PROGRAMFILES64\Backrest"

######################################################################

Expand Down Expand Up @@ -81,9 +81,7 @@ ${INSTALL_TYPE}
SetOverwrite ifnewer
SetOutPath "$INSTDIR"
File "${BUILD_DIR}\backrest.exe"
File "${BUILD_DIR}\CHANGELOG.md"
File "${BUILD_DIR}\LICENSE.txt"
File "${BUILD_DIR}\README.md"
SectionEnd

######################################################################
Expand Down Expand Up @@ -141,11 +139,7 @@ SectionEnd
Section Uninstall
${INSTALL_TYPE}
Delete "$INSTDIR\backrest.exe"
Delete "$INSTDIR\CHANGELOG.md"
Delete "$INSTDIR\install.sh"
Delete "$INSTDIR\LICENSE.txt"
Delete "$INSTDIR\README.md"
Delete "$INSTDIR\uninstall.sh"
Delete "$INSTDIR\uninstall.exe"
Delete "$SMSTARTUP\$(^Name).lnk"
!ifdef WEB_SITE
Expand Down
Loading