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:
@@ -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
|
||||
});
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user