mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-10-04 00:03:59 +00:00
fix: NSIS File paths relative to script dir (package/ -> ../build/)
This commit is contained in:
@ -38,7 +38,7 @@
|
|||||||
!endif
|
!endif
|
||||||
|
|
||||||
Name "${PRODUCT_DISPLAY_NAME}"
|
Name "${PRODUCT_DISPLAY_NAME}"
|
||||||
OutFile "${OUTPUT_FILE}"
|
OutFile "..\build\${OUTPUT_FILE}"
|
||||||
InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}"
|
InstallDir "$PROGRAMFILES64\${PRODUCT_NAME}"
|
||||||
InstallDirRegKey HKLM "Software\${PRODUCT_NAME}" ""
|
InstallDirRegKey HKLM "Software\${PRODUCT_NAME}" ""
|
||||||
RequestExecutionLevel admin
|
RequestExecutionLevel admin
|
||||||
@ -217,17 +217,17 @@ Section "Install" SEC_INSTALL
|
|||||||
CreateDirectory "$INSTDIR\data\adapters"
|
CreateDirectory "$INSTDIR\data\adapters"
|
||||||
|
|
||||||
!if "${HAS_CORE}" == "1"
|
!if "${HAS_CORE}" == "1"
|
||||||
File "initconfig.exe"
|
File "..\build\initconfig.exe"
|
||||||
File "homed.exe"
|
File "..\build\homed.exe"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if "${HAS_WAITER}" == "1"
|
!if "${HAS_WAITER}" == "1"
|
||||||
File "waiter.exe"
|
File "..\build\waiter.exe"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if "${HAS_GUI}" == "1"
|
!if "${HAS_GUI}" == "1"
|
||||||
SetOutPath "$INSTDIR\homeagent-gui-win32-x64"
|
SetOutPath "$INSTDIR\homeagent-gui-win32-x64"
|
||||||
File /r "homeagent-gui-win32-x64\*.*"
|
File /r "..\build\homeagent-gui-win32-x64\*.*"
|
||||||
SetOutPath "$INSTDIR"
|
SetOutPath "$INSTDIR"
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user