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
058eacd07a
commit
9d44a47317
9
.github/workflows/build_server_nsis.yml
vendored
9
.github/workflows/build_server_nsis.yml
vendored
|
@ -24,16 +24,23 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python3 -m nuitka --remove-output --assume-yes-for-downloads --follow-imports --include-data-dir=lib=lib --include-data-files=lib/codec2/*=lib/codec2/ --include-data-files=config.ini.example=config.ini --standalone server.py --output-filename=freedata-server
|
python3 -m nuitka --remove-output --assume-yes-for-downloads --follow-imports --include-data-dir=lib=lib --include-data-files=lib/codec2/*=lib/codec2/ --include-data-files=config.ini.example=config.ini --standalone server.py --output-filename=freedata-server
|
||||||
|
|
||||||
|
- name: LIST ALL FILES
|
||||||
|
run: ls -R
|
||||||
|
|
||||||
- name: Create installer
|
- name: Create installer
|
||||||
|
working-directory: modem
|
||||||
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"
|
||||||
|
|
||||||
|
- name: LIST ALL FILES
|
||||||
|
run: ls -R
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: 'FreeData-Server-Installer'
|
name: 'FreeData-Server-Installer'
|
||||||
path: ../FreeData-Server-Installer.exe
|
path: ./FreeData-Server-Installer.exe
|
||||||
|
|
||||||
- name: Upload Installer to Release
|
- name: Upload Installer to Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
|
|
@ -21,7 +21,7 @@ Section "MainSection" SEC01
|
||||||
SetOutPath $INSTDIR
|
SetOutPath $INSTDIR
|
||||||
|
|
||||||
; Add the entire FreeData Server directory
|
; Add the entire FreeData Server directory
|
||||||
File /r "modem/server.dist/*.*"
|
File /r "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