Skip to content

Commit 82f5dcf

Browse files
committed
switch installed binary to the tray application
1 parent 19a099a commit 82f5dcf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/windows/install.nsi

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
!define DESCRIPTION "Application"
99
!define LICENSE_TXT "${BUILD_DIR}\LICENSE"
1010
!define INSTALLER_NAME "${OUT_DIR}\Backrest-setup.exe"
11-
!define MAIN_APP_EXE "backrest.exe"
11+
!define MAIN_APP_EXE "backrest-windows-tray.exe"
1212
!define INSTALL_TYPE "SetShellVarContext current"
1313
!define REG_ROOT "HKCU"
1414
!define REG_APP_PATH "Software\Microsoft\Windows\CurrentVersion\App Paths\${MAIN_APP_EXE}"
@@ -81,6 +81,7 @@ ${INSTALL_TYPE}
8181
SetOverwrite ifnewer
8282
SetOutPath "$INSTDIR"
8383
File "${BUILD_DIR}\backrest.exe"
84+
File "${BUILD_DIR}\backrest-windows-tray.exe"
8485
File "${BUILD_DIR}\LICENSE"
8586
SectionEnd
8687

@@ -139,6 +140,7 @@ SectionEnd
139140
Section Uninstall
140141
${INSTALL_TYPE}
141142
Delete "$INSTDIR\backrest.exe"
143+
Delete "$INSTDIR\backrest-windows-tray.exe"
142144
Delete "$INSTDIR\LICENSE"
143145
Delete "$INSTDIR\uninstall.exe"
144146
Delete "$SMSTARTUP\$(^Name).lnk"

0 commit comments

Comments
 (0)