diff --git a/app/package.json b/app/package.json index 9d30ade0..4c80c267 100644 --- a/app/package.json +++ b/app/package.json @@ -11,7 +11,8 @@ "appId": "org.dbgate", "mac": { "category": "database", - "icon": "icon512.png" + "icon": "icon512.png", + "publish": ["github"] }, "linux": { "target": [ @@ -20,13 +21,15 @@ ], "icon": "icon.png", "category": "Development", - "synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL" + "synopsis": "Database administration tool for MS SQL, MySQL and PostgreSQL", + "publish": ["github"] }, "win": { "target": [ "nsis" ], - "icon": "icon.ico" + "icon": "icon.ico", + "publish": ["github"] }, "files": [ "packages", diff --git a/app/src/electron.js b/app/src/electron.js index 4b33314c..4972063e 100644 --- a/app/src/electron.js +++ b/app/src/electron.js @@ -2,7 +2,7 @@ const electron = require('electron'); const os = require('os'); const { Menu } = require('electron'); const { fork } = require('child_process'); -var { autoUpdater } = require('electron-updater'); +const { autoUpdater } = require('electron-updater'); const Store = require('electron-store'); // Module to control application life. const app = electron.app;