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
.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
|
||||
with:
|
||||
script-file: "freedata-server-nsis-config.nsi"
|
||||
arguments: "/V3"
|
||||
arguments: '/DGITHUB_WORKSPACE="${{ $GITHUB_WORKSPACE }}" /V3'
|
||||
|
||||
- name: LIST ALL FILES
|
||||
run: ls -R
|
||||
|
|
|
@ -15,13 +15,18 @@ ShowInstDetails show
|
|||
; Show uninstallation details
|
||||
ShowUninstDetails show
|
||||
|
||||
; Define GITHUB location
|
||||
!define GITHUB_WORKSPACE
|
||||
|
||||
|
||||
|
||||
Section "MainSection" SEC01
|
||||
|
||||
; Set the output path to the installation directory
|
||||
SetOutPath $INSTDIR
|
||||
|
||||
; Add the entire FreeData Server directory
|
||||
File /r "server.dist/*.*"
|
||||
File /r ""${GITHUB_WORKSPACE}\modem\server.dist\*.*"
|
||||
|
||||
; Write the installation path to the registry
|
||||
WriteRegStr HKCU "Software\FreeDataServer" "Install_Dir" "$INSTDIR"
|
||||
|
|
Loading…
Reference in a new issue