Skip to content

Commit

Permalink
1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilSpartans committed Jan 10, 2024
1 parent f074a8c commit ed0d0cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit ed0d0cf

Please sign in to comment.