mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
Fix broken references to Nylas in mailto:// registration helper
This commit is contained in:
parent
aaffeb7e44
commit
beaad725a5
2 changed files with 2 additions and 2 deletions
Binary file not shown.
|
@ -101,7 +101,7 @@ class Linux {
|
|||
}
|
||||
exec(
|
||||
`xdg-mime query default x-scheme-handler/${scheme}`,
|
||||
(err, stdout) => (err ? callback(err) : callback(stdout.trim() === 'nylas.desktop'))
|
||||
(err, stdout) => (err ? callback(err) : callback(stdout.trim() === 'mailspring.desktop'))
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -113,7 +113,7 @@ class Linux {
|
|||
}
|
||||
registerForURLScheme(scheme, callback = () => {}) {
|
||||
exec(
|
||||
`xdg-mime default nylas.desktop x-scheme-handler/${scheme}`,
|
||||
`xdg-mime default mailspring.desktop x-scheme-handler/${scheme}`,
|
||||
err => (err ? callback(err) : callback(null, null))
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue