Skip to content

Commit

Permalink
automate nsis compile
Browse files Browse the repository at this point in the history
  • Loading branch information
dadecoza committed Dec 7, 2024
1 parent 5485179 commit 41837ab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up MinGW
run: |
sudo apt update
sudo apt install -y gcc-mingw-w64-i686-win32
sudo apt install -y gcc-mingw-w64-i686-win32 nsis nsis-common
- name: Load Pidgin from cache
id: pidgin-cache
Expand Down Expand Up @@ -65,12 +65,18 @@ jobs:
export GTK_TOP=win32-dev/glib-2.28.8
make -f Makefile.mingw
- name: Create NSIS Installer
run: |
makensis nsis/pidgin-meshtastic-installer.nsi
- name: archive
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
with:
name: plugin
path: lib*.dll
path: |
lib*.dll
pidgin-meshtastic-plugin.exe
- name: release
if: ${{ !env.ACT }}
Expand All @@ -86,4 +92,6 @@ jobs:
if: ${{ !env.ACT }}
uses: actions/attest-build-provenance@v1
with:
subject-path: lib*.dll
subject-path: |
lib*.dll
pidgin-meshtastic-plugin.exe
2 changes: 1 addition & 1 deletion nsis/pidgin-meshtastic-installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
; MUI end ------
Icon "pidgin-meshtastic.ico"
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
OutFile "pidgin-meshtastic-${PRODUCT_VERSION}.exe"
OutFile "..\pidgin-meshtastic-plugin.exe"
InstallDir "$PROGRAMFILES\Pidgin"
ShowInstDetails show

Expand Down

0 comments on commit 41837ab

Please sign in to comment.