diff --git a/app/main.js b/app/main.js index 0eef20ad..5ebddf37 100644 --- a/app/main.js +++ b/app/main.js @@ -17,7 +17,7 @@ let repoRootDir = repoDir; //auto update stuff setTimeout(() => { gau.checkForUpdate({ - currentVersion: '1.0.0', //app.getVersion(), + currentVersion: app.getVersion(), repo: 'https://api.github.com/repos/S2-/gitlit/releases/latest', assetMatch: /.+setup.+exe/i }); diff --git a/package.json b/package.json index 67eb31ec..6c2bc619 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,8 @@ }, "scripts": { "start": "electron .", - "pack": "electron-builder --linux --win portable nsis --dir", - "dist": "electron-builder --linux --win portable nsis" + "pack": "electron-builder --linux --win portable nsis --dir --publish=never", + "dist": "electron-builder --linux --win portable nsis --publish=never" }, "repository": { "type": "git",