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:
parent
b17d8bc533
commit
f909fe6670
@ -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;
|
||||||
|
@ -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"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user