fix(flatpak): try setting different bin to avoid sandbox issue

This commit is contained in:
Elian Doran 2025-03-15 12:47:10 +02:00
parent df5939b201
commit a778ec617f
No known key found for this signature in database
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[Desktop Entry]
<% if (productName) { %>Name=<%= productName %>
<% } %><% if (description) { %>Comment=<%= description %>
<% } %><% if (genericName) { %>GenericName=<%= genericName %>
<% } %><% if (desktopExec) { %>Exec=<%= desktopExec %> %U
<% } %><% if (id) { %>Icon=<%= id %>
<% } %>Type=Application
StartupNotify=true
<% if (categories && categories.length) { %>Categories=<%= categories.join(';') %>;
<% } %><% if (mimeType && mimeType.length) { %>MimeType=<%= mimeType.join(';') %>;
<% } %>

View File

@ -71,6 +71,7 @@ module.exports = {
config: {
options: {
...baseLinuxMakerConfigOptions,
desktopTemplate: path.resolve("./bin/electron-forge/desktop.ejs"),
id: "com.triliumnext.notes",
runtimeVersion: "24.08",
base: "org.electronjs.Electron2.BaseApp",