livedesk 0.1.565 → 0.1.566

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/electron/main.mjs +11 -9
  2. package/package.json +1 -1
package/electron/main.mjs CHANGED
@@ -879,15 +879,17 @@ function showWindow() {
879
879
  mainWindow.focus();
880
880
  }
881
881
 
882
- function createMainWindow() {
883
- const iconPath = appResource('electron', 'icon.png');
884
- mainWindow = new BrowserWindow({
885
- width: 1440,
886
- height: 960,
887
- minWidth: 1080,
888
- minHeight: 720,
889
- show: false,
890
- title: APP_NAME,
882
+ function createMainWindow() {
883
+ const iconPath = appResource('electron', 'icon.png');
884
+ Menu.setApplicationMenu(null);
885
+ mainWindow = new BrowserWindow({
886
+ width: 1440,
887
+ height: 960,
888
+ minWidth: 1080,
889
+ minHeight: 720,
890
+ show: false,
891
+ autoHideMenuBar: true,
892
+ title: APP_NAME,
891
893
  icon: existsSync(iconPath) ? iconPath : nativeImage.createFromDataURL(FALLBACK_ICON_DATA_URL),
892
894
  webPreferences: {
893
895
  preload: appResource('electron', 'preload.cjs'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "livedesk",
3
- "version": "0.1.565",
3
+ "version": "0.1.566",
4
4
  "livedeskClientVersion": "0.1.249",
5
5
  "buildFlavor": "production",
6
6
  "description": "LiveDesk Hub and client launcher",