From 1a89a0989d53a715e4ca3863948894b1ae419f31 Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Wed, 5 Feb 2025 08:32:59 +0100 Subject: [PATCH] build(electron): update flatpak config to latest base previously it was defaulting to an EOL version of the Platform/SDK Explicitly setting it to 24.08 however makes the build fail, because it defaults to using an outdated "zypak" module, so we need to explicitly mention the latest version here too --- forge.config.cjs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/forge.config.cjs b/forge.config.cjs index 065a73d38..7ac39e381 100644 --- a/forge.config.cjs +++ b/forge.config.cjs @@ -65,6 +65,21 @@ module.exports = { options: { icon: "./images/app-icons/png/128x128.png", desktopTemplate: path.resolve("./bin/electron-forge/desktop.ejs"), + id: "com.github.triliumnext.notes", + runtimeVersion: "24.08", + base: "org.electronjs.Electron2.BaseApp", + baseVersion: "24.08", + baseFlatpakref: "https://flathub.org/repo/flathub.flatpakrepo", + modules: [ + { + name: "zypak", + sources: { + type: "git", + url: "https://github.com/refi64/zypak", + tag: "v2024.01.17" + } + } + ] }, } },