mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
Merge pull request #38 from vector-im/t3chguy/depr8
Electron 8 changes. Deprecations. Updates.
This commit is contained in:
commit
1dd7c168cf
@ -61,7 +61,7 @@
|
|||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"appId": "im.riot.app",
|
"appId": "im.riot.app",
|
||||||
"electronVersion": "8.0.2",
|
"electronVersion": "8.0.3",
|
||||||
"files": [
|
"files": [
|
||||||
"package.json",
|
"package.json",
|
||||||
{
|
{
|
||||||
|
@ -264,11 +264,11 @@ ipcMain.on('ipcCall', async function(ev, payload) {
|
|||||||
store.set('minimizeToTray', args[0]);
|
store.set('minimizeToTray', args[0]);
|
||||||
break;
|
break;
|
||||||
case 'getAutoHideMenuBarEnabled':
|
case 'getAutoHideMenuBarEnabled':
|
||||||
ret = global.mainWindow.isMenuBarAutoHide();
|
ret = global.mainWindow.autoHideMenuBar;
|
||||||
break;
|
break;
|
||||||
case 'setAutoHideMenuBarEnabled':
|
case 'setAutoHideMenuBarEnabled':
|
||||||
store.set('autoHideMenuBar', args[0]);
|
store.set('autoHideMenuBar', args[0]);
|
||||||
global.mainWindow.setAutoHideMenuBar(args[0]);
|
global.mainWindow.autoHideMenuBar = Boolean(args[0]);
|
||||||
global.mainWindow.setMenuBarVisibility(!args[0]);
|
global.mainWindow.setMenuBarVisibility(!args[0]);
|
||||||
break;
|
break;
|
||||||
case 'getAppVersion':
|
case 'getAppVersion':
|
||||||
|
Loading…
Reference in New Issue
Block a user