26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
|
[Desktop Entry]
|
||
|
Type=Application
|
||
|
Name=<%= productName %>
|
||
|
<% if (genericName) { %>GenericName=<%= genericName %><% } %>
|
||
|
<% if (description) { %>Comment=<%= description %><% } %>
|
||
|
Icon=<%= name %>
|
||
|
<% if (name) { %>Exec=<%= name %> --no-sandbox %U<% } %><%/*HACK: --no-sandbox fixes an Electron 6 bug. See: #1703*/%>
|
||
|
Terminal=false
|
||
|
Actions=CreateNewTorrent;OpenTorrentFile;OpenTorrentAddress;
|
||
|
<% if (mimeType && mimeType.length) { %>MimeType=<%= mimeType.join(';') %>;<% } %>
|
||
|
<% if (categories && categories.length) { %>Categories=<%= categories.join(';') %>;<% } %>
|
||
|
StartupNotify=true
|
||
|
StartupWMClass=<%= productName %>
|
||
|
|
||
|
[Desktop Action CreateNewTorrent]
|
||
|
Name=Create New Torrent...
|
||
|
<% if (name) { %>Exec=<%= name %> --no-sandbox -n <% } %><%/*HACK: --no-sandbox fixes an Electron 6 bug. See: #1703*/%>
|
||
|
|
||
|
[Desktop Action OpenTorrentFile]
|
||
|
Name=Open Torrent File...
|
||
|
<% if (name) { %>Exec=<%= name %> --no-sandbox -o <% } %><%/*HACK: --no-sandbox fixes an Electron 6 bug. See: #1703*/%>
|
||
|
|
||
|
[Desktop Action OpenTorrentAddress]
|
||
|
Name=Open Torrent Address...
|
||
|
<% if (name) { %>Exec=<%= name %> --no-sandbox -u <% } %><%/*HACK: --no-sandbox fixes an Electron 6 bug. See: #1703*/%>
|