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
|
//auto update stuff
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
gau.checkForUpdate({
|
gau.checkForUpdate({
|
||||||
currentVersion: '1.0.0', //app.getVersion(),
|
currentVersion: app.getVersion(),
|
||||||
repo: 'https://api.github.com/repos/S2-/gitlit/releases/latest',
|
repo: 'https://api.github.com/repos/S2-/gitlit/releases/latest',
|
||||||
assetMatch: /.+setup.+exe/i
|
assetMatch: /.+setup.+exe/i
|
||||||
});
|
});
|
||||||
|
@@ -47,8 +47,8 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"pack": "electron-builder --linux --win portable nsis --dir",
|
"pack": "electron-builder --linux --win portable nsis --dir --publish=never",
|
||||||
"dist": "electron-builder --linux --win portable nsis"
|
"dist": "electron-builder --linux --win portable nsis --publish=never"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Reference in New Issue
Block a user