1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-30 08:26:59 +02:00

Trying to get it to work on Linux

This commit is contained in:
Roman 2021-08-13 22:06:01 +01:00
parent b17d8bc533
commit f909fe6670
2 changed files with 4 additions and 3 deletions

View File

@ -328,8 +328,8 @@ export default class ElectronAppWrapper {
win.focus(); win.focus();
if (process.platform !== 'darwin') { if (process.platform !== 'darwin') {
const url = argv.find((arg) => arg.startsWith('joplin://')); const url = argv.find((arg) => arg.startsWith('joplin://'));
if (!!url) this.onUrl(url) if (url) this.onUrl(url);
} }
}); });
return false; return false;

View File

@ -83,7 +83,8 @@
"icon": "../../Assets/LinuxIcons", "icon": "../../Assets/LinuxIcons",
"category": "Office", "category": "Office",
"desktop": { "desktop": {
"Icon": "joplin" "Icon": "joplin",
"MimeType": "x-scheme-handler/joplin;"
}, },
"target": "AppImage" "target": "AppImage"
}, },