From d2bf25de6bbad512d075396378365492097c3195 Mon Sep 17 00:00:00 2001 From: Alexey Kasyanchuk Date: Sun, 4 Feb 2018 02:05:47 +0300 Subject: [PATCH] fix(macos): proper work under MacOS X --- src/background/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background/background.js b/src/background/background.js index 6729c0e..291c947 100644 --- a/src/background/background.js +++ b/src/background/background.js @@ -191,7 +191,7 @@ const startSphinx = (callback) => { const config = `${sphinxConfigDirectory}/sphinx.conf` const options = ['--config', config] - if(process.platform === 'linux') + if(!(/^win/.test(process.platform))) { options.push('--nodetach') }