mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-26 06:51:31 +08:00
fix(flatpak): try setting different bin to avoid sandbox issue
This commit is contained in:
parent
df5939b201
commit
a778ec617f
11
bin/electron-forge/desktop-flatpak.ejs
Normal file
11
bin/electron-forge/desktop-flatpak.ejs
Normal 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(';') %>;
|
||||
<% } %>
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user