yep
This commit is contained in:
parent
63d8aa9fe3
commit
6dc6cecfcc
2 changed files with 15 additions and 3 deletions
|
|
@ -11,6 +11,16 @@ jobs:
|
|||
with:
|
||||
node-version: 24
|
||||
- uses: actions/checkout@v6
|
||||
- name: Install packaging deps (Linux + Windows cross-build)
|
||||
run: sudo apt-get update && sudo apt-get install -y rpm wine64 nsis
|
||||
- run: npm ci
|
||||
- run: npm run dist:linux
|
||||
- run: npm run dist:win
|
||||
- name: Copy installers into static folder
|
||||
run: |
|
||||
mkdir -p static/installers
|
||||
find static/installers -mindepth 1 -maxdepth 1 -type f -delete
|
||||
find dist -maxdepth 1 -type f \( -name '*.rpm' -o -name '*.AppImage' -o -name '*.deb' -o -name '*.exe' -o -name '*.msi' \) -exec cp {} static/installers/ \;
|
||||
- name: Cache Cargo registry
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,9 @@
|
|||
"scripts": {
|
||||
"start": "electron .",
|
||||
"dev": "electron .",
|
||||
"dist": "electron-builder -l"
|
||||
"dist": "electron-builder",
|
||||
"dist:linux": "electron-builder --linux",
|
||||
"dist:win": "electron-builder --win"
|
||||
},
|
||||
"build": {
|
||||
"appId": "me.flegr.chattz",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue