disables doSetAutoLaunch if not production

This commit is contained in:
jessop 2019-11-27 20:55:29 -05:00 committed by Sean Yesmunt
parent 350bab2abc
commit ebb7277e40

View file

@ -129,7 +129,7 @@ export function doSetAutoLaunch(value) {
const state = getState();
const autoLaunch = makeSelectClientSetting(SETTINGS.AUTO_LAUNCH)(state);
if (IS_MAC) {
if (IS_MAC || process.env.NODE_ENV !== 'production') {
return;
}