From beaad725a5b6e1e2a37b617c3ad185f63160d915 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Thu, 5 Oct 2017 14:40:50 -0700 Subject: [PATCH] Fix broken references to Nylas in mailto:// registration helper --- .../resources/win/mailspring-mailto-default.reg | Bin 346 -> 356 bytes app/src/default-client-helper.es6 | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build/resources/win/mailspring-mailto-default.reg b/app/build/resources/win/mailspring-mailto-default.reg index a1721f8d1da4d99d79c4abb1e203f57103bbca11..470dae9ae8a59e1de287908b0afc542823b0b5ce 100755 GIT binary patch delta 31 lcmcb`^n_`H0i&=lLn1>aLk>eRLjgk(kd?=fKG~8{5deu82fF|O delta 21 ccmaFDbc<<&0VAg$LnT8FLn1@*WM@W207sJrtN;K2 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)) ); }