Skip to content

Commit

Permalink
Fix debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinhenderson committed Nov 10, 2021
1 parent 17c5a68 commit d303557
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eye-commander",
"productName": "EyeCommander",
"version": "1.0.1",
"version": "1.0.2",
"description": "Detect blinks and convert them to switch output",
"main": ".webpack/main",
"scripts": {
Expand Down
8 changes: 6 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,12 @@ if (require("electron-squirrel-startup")) {
app.quit();
}

if (isDebug()) {
setupAutoUpdater({ logger: require("electron-log") });
if (!isDebug()) {
setupAutoUpdater({
logger: require("electron-log"),
updateInterval: "5 minutes",
repo: "AceCentre/EyeCommander",
});
}

const createWindow = (javascriptToExecute) => {
Expand Down

0 comments on commit d303557

Please sign in to comment.