Merge pull request #1130 from TriliumNext/build_add-flatpak-electron

build: add flatpak build via electron-forge
This commit is contained in:
Elian Doran
2025-02-07 18:13:34 +02:00
committed by GitHub
8 changed files with 286 additions and 5 deletions

View File

@@ -60,6 +60,29 @@ module.exports = {
}
}
},
{
name: "@electron-forge/maker-flatpak",
config: {
options: {
...baseLinuxMakerConfigOptions,
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"
}
}
]
},
}
},
{
name: "@electron-forge/maker-rpm",
config: {