feat(flatpak): add script to ensure Flathub remote exists and update build process for Electron Forge

This commit is contained in:
Ivan
2026-04-22 18:16:52 -05:00
parent ef977c84b3
commit f193010f37
5 changed files with 49 additions and 2 deletions
+3 -2
View File
@@ -21,6 +21,8 @@ on:
paths:
- "package.json"
- "forge.config.js"
- "scripts/electron-forge-local-tmp.js"
- "scripts/ensure-flatpak-flathub-remote.sh"
- "scripts/ci/github-build-linux-*.sh"
- ".github/workflows/build-linux-packages.yml"
- ".github/workflows/frontend-build.yml"
@@ -80,8 +82,7 @@ jobs:
- name: Install flatpak runtimes (user scope)
run: |
set -euo pipefail
flatpak --user remote-add --if-not-exists flathub \
https://flathub.org/repo/flathub.flatpakrepo
bash scripts/ensure-flatpak-flathub-remote.sh
flatpak --user install -y --noninteractive flathub \
org.freedesktop.Platform//25.08 \
org.freedesktop.Sdk//25.08 \