Fix broken references to Nylas in mailto:// registration helper

This commit is contained in:
Ben Gotow 2017-10-05 14:40:50 -07:00
parent aaffeb7e44
commit beaad725a5
2 changed files with 2 additions and 2 deletions

View file

@ -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))
);
}