From ed0d0cfd0d68c81e7a0b0fd41be62fad1be76ad2 Mon Sep 17 00:00:00 2001 From: Alexis Moren Date: Wed, 10 Jan 2024 03:54:25 +0100 Subject: [PATCH] 1.0.4 --- main.js | 13 +++++++------ package.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/main.js b/main.js index 9825d33..d108dbc 100644 --- a/main.js +++ b/main.js @@ -48,6 +48,13 @@ const createWindow = () => { }, }); + // Block computer swipe + win.setHasShadow(false); + localShortcut.register(win, 'Left', () => {}); + localShortcut.register(win, 'Right', () => {}); + localShortcut.register(win, 'Up', () => {}); + localShortcut.register(win, 'Down', () => {}); + win.loadFile("index.html"); isDev && win.webContents.openDevTools(); return win; @@ -89,12 +96,6 @@ app.whenReady().then(() => { if (BrowserWindow.getAllWindows().length === 0) createWindow(); }); - // Block computer swipe - localShortcut.register(mainApp, 'Left', () => {}); - localShortcut.register(mainApp, 'Right', () => {}); - localShortcut.register(mainApp, 'Up', () => {}); - localShortcut.register(mainApp, 'Down', () => {}); - // Update app updateInterval = setInterval(() => autoUpdater.checkForUpdates(), 600000); diff --git a/package.json b/package.json index e497f16..a907b50 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jobibox", - "version": "1.0.3", + "version": "1.0.4", "description": "La cabine accoustique pour créer un cv vidéo", "repository": "https://github.com/EvilSpartans/JobiBox", "main": "main.js",