mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Merge pull request #9368 from vector-im/travis/autolaunch
Fix autolaunch setting appearing toggled off
This commit is contained in:
commit
50b4906ea8
@ -139,7 +139,7 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
|||||||
ret = autoUpdater.getFeedURL();
|
ret = autoUpdater.getFeedURL();
|
||||||
break;
|
break;
|
||||||
case 'getAutoLaunchEnabled':
|
case 'getAutoLaunchEnabled':
|
||||||
ret = launcher.isEnabled;
|
ret = await launcher.isEnabled();
|
||||||
break;
|
break;
|
||||||
case 'setAutoLaunchEnabled':
|
case 'setAutoLaunchEnabled':
|
||||||
if (args[0]) {
|
if (args[0]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user