mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
another attempt with nsis..
This commit is contained in:
parent
d06cdd5649
commit
718ffd5ee7
2 changed files with 7 additions and 2 deletions
2
.github/workflows/build_server_nsis.yml
vendored
2
.github/workflows/build_server_nsis.yml
vendored
|
@ -31,7 +31,7 @@ jobs:
|
||||||
uses: joncloud/makensis-action@v4
|
uses: joncloud/makensis-action@v4
|
||||||
with:
|
with:
|
||||||
script-file: "freedata-server-nsis-config.nsi"
|
script-file: "freedata-server-nsis-config.nsi"
|
||||||
arguments: "/V3"
|
arguments: '/DGITHUB_WORKSPACE="${{ $GITHUB_WORKSPACE }}" /V3'
|
||||||
|
|
||||||
- name: LIST ALL FILES
|
- name: LIST ALL FILES
|
||||||
run: ls -R
|
run: ls -R
|
||||||
|
|
|
@ -15,13 +15,18 @@ ShowInstDetails show
|
||||||
; Show uninstallation details
|
; Show uninstallation details
|
||||||
ShowUninstDetails show
|
ShowUninstDetails show
|
||||||
|
|
||||||
|
; Define GITHUB location
|
||||||
|
!define GITHUB_WORKSPACE
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Section "MainSection" SEC01
|
Section "MainSection" SEC01
|
||||||
|
|
||||||
; Set the output path to the installation directory
|
; Set the output path to the installation directory
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
|
|
||||||
; Add the entire FreeData Server directory
|
; Add the entire FreeData Server directory
|
||||||
File /r "server.dist/*.*"
|
File /r ""${GITHUB_WORKSPACE}\modem\server.dist\*.*"
|
||||||
|
|
||||||
; Write the installation path to the registry
|
; Write the installation path to the registry
|
||||||
WriteRegStr HKCU "Software\FreeDataServer" "Install_Dir" "$INSTDIR"
|
WriteRegStr HKCU "Software\FreeDataServer" "Install_Dir" "$INSTDIR"
|
||||||
|
|
Loading…
Reference in a new issue