A local-first personal finance app
:electron: Prep for flathub - arm64 support and metainfo (#5947)
Michael Clark4e42cda29ec2
diff --git a/.github/workflows/electron-master.yml b/.github/workflows/electron-master.ymlindex 49fe51aab2..6c3f498dd5 100644--- a/.github/workflows/electron-master.yml+++ b/.github/workflows/electron-master.yml@@ -44,9 +44,9 @@ jobs:sudo apt-get install flatpak -ysudo apt-get install flatpak-builder -ysudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo- sudo flatpak install org.freedesktop.Sdk/x86_64/24.08 -y- sudo flatpak install org.freedesktop.Platform/x86_64/24.08 -y- sudo flatpak install org.electronjs.Electron2.BaseApp/x86_64/24.08 -y+ sudo flatpak install org.freedesktop.Sdk//24.08 -y+ sudo flatpak install org.freedesktop.Platform//24.08 -y+ sudo flatpak install org.electronjs.Electron2.BaseApp//24.08 -y- name: Set up environmentuses: ./.github/actions/setup- name: Build Electron for Macdiff --git a/.github/workflows/electron-pr.yml b/.github/workflows/electron-pr.ymlindex ea18f02a5e..d715c8dae7 100644--- a/.github/workflows/electron-pr.yml+++ b/.github/workflows/electron-pr.yml@@ -39,9 +39,9 @@ jobs:sudo apt-get install flatpak -ysudo apt-get install flatpak-builder -ysudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo- sudo flatpak install org.freedesktop.Sdk/x86_64/24.08 -y- sudo flatpak install org.freedesktop.Platform/x86_64/24.08 -y- sudo flatpak install org.electronjs.Electron2.BaseApp/x86_64/24.08 -y+ sudo flatpak install org.freedesktop.Sdk//24.08 -y+ sudo flatpak install org.freedesktop.Platform//24.08 -y+ sudo flatpak install org.electronjs.Electron2.BaseApp//24.08 -y- name: Set up environmentuses: ./.github/actions/setup- name: Build Electrondiff --git a/packages/desktop-electron/extra-resources/linux/com.actualbudget.actual.metainfo.xml b/packages/desktop-electron/extra-resources/linux/com.actualbudget.actual.metainfo.xmlnew file mode 100644index 0000000000..fc59fc004f--- /dev/null+++ b/packages/desktop-electron/extra-resources/linux/com.actualbudget.actual.metainfo.xml@@ -0,0 +1,34 @@+<?xml version="1.0" encoding="UTF-8"?>+<component type="desktop">+ <id>com.actualbudget.actual</id>+ <name>Actual</name>+ <summary>A local-first personal finance app</summary>+ <metadata_license>MIT</metadata_license>+ <project_license>MIT</project_license>+ <content_rating type="oars-1.0" />+ <description>+ <p>Actual Budget is a super fast and privacy-focused app for managing your finances. At its heart is the well proven and much loved Envelope Budgeting methodology.</p>+ <p>You own your data and can do whatever you want with it. Featuring multi-device sync, optional end-to-end encryption and so much more.</p>+ </description>+ <launchable type="desktop-id">com.actualbudget.actual.desktop</launchable>+ <url type="homepage">https://actualbudget.org/</url>+ <url type="bugtracker">https://github.com/actualbudget/actual/issues</url>+ <requires>+ <display_length compare="ge">medium</display_length>+ </requires>+ <recommends>+ <control>keyboard</control>+ <control>pointing</control>+ <control>touch</control>+ </recommends>+ <screenshots>+ <screenshot type="default">+ <image>https://github.com/actualbudget/actual/raw/master/demo.png</image>+ </screenshot>+ </screenshots>+ <releases>+ <release version="25.10.0" date="2025-10-02" />+ </releases>+ <developer_name>Actual Core Contributors</developer_name>+ <update_contact>[email protected]</update_contact>+</component>diff --git a/packages/desktop-electron/package.json b/packages/desktop-electron/package.jsonindex f1c315c0e9..f2de3a215e 100644--- a/packages/desktop-electron/package.json+++ b/packages/desktop-electron/package.json@@ -46,10 +46,24 @@},"linux": {"target": [- "flatpak",- "AppImage"+ {+ "target": "flatpak",+ "arch": [+ "x64"+ ]+ },+ {+ "target": "AppImage",+ "arch": [+ "x64",+ "arm64"+ ]+ }],- "artifactName": "${productName}-linux-${arch}.${ext}"+ "artifactName": "${productName}-linux-${arch}.${ext}",+ "extraResources": [+ "extra-resources/linux"+ ]},"flatpak": {"runtimeVersion": "24.08",diff --git a/upcoming-release-notes/5947.md b/upcoming-release-notes/5947.mdnew file mode 100644index 0000000000..2fe1fb3a76--- /dev/null+++ b/upcoming-release-notes/5947.md@@ -0,0 +1,6 @@+---+category: Enhancements+authors: [MikesGlitch]+---++Add support for arm64 AppImage