feat: Add Gitea Actions workflow for Electron application build and release, along with its build configuration.
Some checks failed
Build and Release / build-and-release (push) Has been cancelled
Some checks failed
Build and Release / build-and-release (push) Has been cancelled
This commit is contained in:
@@ -18,6 +18,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y jq xvfb flatpak flatpak-builder elfutils xdg-dbus-proxy
|
apt-get update && apt-get install -y jq xvfb flatpak flatpak-builder elfutils xdg-dbus-proxy
|
||||||
|
|
||||||
|
- name: Wrap flatpak-builder for Docker compatibility
|
||||||
|
run: |
|
||||||
|
mv /usr/bin/flatpak-builder /usr/bin/flatpak-builder.real
|
||||||
|
printf '#!/bin/bash\nexec /usr/bin/flatpak-builder.real --disable-rofiles-fuse "$@"\n' > /usr/bin/flatpak-builder
|
||||||
|
chmod +x /usr/bin/flatpak-builder
|
||||||
|
|
||||||
- name: Setup Flatpak runtimes
|
- name: Setup Flatpak runtimes
|
||||||
run: |
|
run: |
|
||||||
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|||||||
@@ -71,8 +71,7 @@
|
|||||||
"--device=all",
|
"--device=all",
|
||||||
"--filesystem=home",
|
"--filesystem=home",
|
||||||
"--talk-name=org.freedesktop.Notifications"
|
"--talk-name=org.freedesktop.Notifications"
|
||||||
],
|
]
|
||||||
"extraFlatpakBuilderArgs": ["--disable-rofiles-fuse"]
|
|
||||||
},
|
},
|
||||||
"nsis": {
|
"nsis": {
|
||||||
"oneClick": true,
|
"oneClick": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user