Merge pull request #9368 from vector-im/travis/autolaunch

Fix autolaunch setting appearing toggled off
This commit is contained in:
Travis Ralston
2019-04-03 08:40:01 -06:00
committed by GitHub

View File

@@ -139,7 +139,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
ret = autoUpdater.getFeedURL();
break;
case 'getAutoLaunchEnabled':
ret = launcher.isEnabled;
ret = await launcher.isEnabled();
break;
case 'setAutoLaunchEnabled':
if (args[0]) {