Skip to content

Commit

Permalink
Prepare to publish to Github.
Browse files Browse the repository at this point in the history
  • Loading branch information
anickle060193 committed Feb 20, 2018
1 parent fc485e2 commit 07530dc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
/dist
/secret.env
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"appId": "com.adamnickle.vnaver",
"productName": "VNAVer",
"win": {
"icon": "./build/icon.ico"
"icon": "./build/icon.ico",
"publish": "github"
},
"directories": {
"buildResources": "public"
Expand Down Expand Up @@ -63,6 +64,7 @@
"cross-env": "^5.1.3",
"electron": "^1.8.2",
"electron-builder": "^20.0.5",
"env-cmd": "^7.0.0",
"typescript": "^2.7.2",
"wait-on": "^2.1.0"
}
Expand Down
4 changes: 2 additions & 2 deletions src/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @ts-check

const { app, BrowserWindow } = require( 'electron' );
// const { autoUpdater } = require( 'electron-updater' );
const { autoUpdater } = require( 'electron-updater' );
const path = require( 'path' );
const url = require( 'url' );

Expand Down Expand Up @@ -46,7 +46,7 @@ function createWindow()

app.on( 'ready', () =>
{
// autoUpdater.checkForUpdatesAndNotify();
autoUpdater.checkForUpdatesAndNotify();
createWindow();
} );

Expand Down
6 changes: 6 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1840,6 +1840,12 @@ entities@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0"

env-cmd@^7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/env-cmd/-/env-cmd-7.0.0.tgz#d1fcfea6e0cbe6bf50b7130221d568907b6349bd"
dependencies:
cross-spawn "^5.0.1"

env-paths@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-1.0.0.tgz#4168133b42bb05c38a35b1ae4397c8298ab369e0"
Expand Down

0 comments on commit 07530dc

Please sign in to comment.