diff --git a/app/build/resources/win/mailspring-mailto-default.reg b/app/build/resources/win/mailspring-mailto-default.reg index a1721f8d1..470dae9ae 100755 Binary files a/app/build/resources/win/mailspring-mailto-default.reg and b/app/build/resources/win/mailspring-mailto-default.reg differ diff --git a/app/src/default-client-helper.es6 b/app/src/default-client-helper.es6 index dd3476c1d..0cefe4ad4 100644 --- a/app/src/default-client-helper.es6 +++ b/app/src/default-client-helper.es6 @@ -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)) ); }