1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-02 12:20:05 +02:00

don't publish by default in electron builder

This commit is contained in:
s2
2020-06-07 19:48:06 +02:00
parent cdafb7a006
commit 94e7c5ce71
2 changed files with 3 additions and 3 deletions

View File

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

View File

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