diff --git a/.github/workflows/build_server_nsis.yml b/.github/workflows/build_server_nsis.yml index ed11e82e..d5d3c1b2 100644 --- a/.github/workflows/build_server_nsis.yml +++ b/.github/workflows/build_server_nsis.yml @@ -24,16 +24,23 @@ jobs: 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 + - name: LIST ALL FILES + run: ls -R + - name: Create installer + working-directory: modem uses: joncloud/makensis-action@v4 with: script-file: "freedata-server-nsis-config.nsi" + - name: LIST ALL FILES + run: ls -R + - name: Upload artifact uses: actions/upload-artifact@v4 with: name: 'FreeData-Server-Installer' - path: ../FreeData-Server-Installer.exe + path: ./FreeData-Server-Installer.exe - name: Upload Installer to Release uses: softprops/action-gh-release@v1 diff --git a/freedata-server-nsis-config.nsi b/freedata-server-nsis-config.nsi index 5cab0150..5aa0a7e0 100644 --- a/freedata-server-nsis-config.nsi +++ b/freedata-server-nsis-config.nsi @@ -21,7 +21,7 @@ Section "MainSection" SEC01 SetOutPath $INSTDIR ; Add the entire FreeData Server directory - File /r "modem/server.dist/*.*" + File /r "server.dist/*.*" ; Write the installation path to the registry WriteRegStr HKCU "Software\FreeDataServer" "Install_Dir" "$INSTDIR"