1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-25 01:05:12 +03:00

Attempt at flatpak build

This commit is contained in:
Marcelo Bezerra 2025-01-21 00:49:03 +01:00
parent 64c489e3ba
commit f87ebaf44f
4 changed files with 715 additions and 516 deletions

View file

@ -41,7 +41,7 @@ jobs:
#check-latest: true
#cache: 'npm'
- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y install dpkg fakeroot rpm build-essential libudev-dev
run: sudo apt-get update && sudo apt-get -y install dpkg fakeroot rpm build-essential libudev-dev flatpak
- name: Install deps
uses: nick-fields/retry@v3
with:
@ -69,6 +69,13 @@ jobs:
with:
name: ${{ env.BUILD_NAME }}_ZIP
path: ./out/make/zip/linux/x64/*.zip
- name: Upload Linux flatpak
uses: actions/upload-artifact@v4
with:
name: ${{ env.BUILD_NAME }}_ZIP
path: ./out/make/zip/linux/x64/*.flatpak
build-linux-aarch64:
runs-on: ubuntu-24.04-arm
@ -127,6 +134,11 @@ jobs:
with:
name: ${{ env.BUILD_NAME }}_ZIP
path: ./out/make/zip/linux/arm64/*.zip
- name: Upload Linux flatpak
uses: actions/upload-artifact@v4
with:
name: ${{ env.BUILD_NAME }}_ZIP
path: ./out/make/zip/linux/arm64/*.flatpak
build-mac-arm64:
runs-on: macos-13

View file

@ -110,5 +110,19 @@ module.exports = {
}
},
},
{
name: '@electron-forge/maker-flatpak',
config: {
options: {
name: "inav-configurator",
productName: "INAV Configurator",
license: "GPL-3.0",
categories: ["Utility"],
icon: "./assets/linux/icon/inav_icon_128.png",
description: "Configurator for the open source flight controller software INAV.",
homepage: "https://github.com/inavflight/",
}
},
},
],
};

1202
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -49,6 +49,7 @@
"@electron-forge/maker-zip": "^7.2.0",
"@electron-forge/maker-dmg": "^7.2.0",
"@electron-forge/maker-wix": "^7.2.0",
"@electron-forge/maker-flatpak": "^7.2.0",
"electron": "28.1.4",
"node-gyp": "^10.1.0"
}