publish (required for autoupgrade)

This commit is contained in:
Jan Prochazka 2021-01-07 08:33:16 +01:00
parent 287d29bbdb
commit 077136814d
2 changed files with 7 additions and 4 deletions

View File

@ -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",

View File

@ -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;