1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-03 21:00:04 +02:00

2 Commits

Author SHA1 Message Date
s2
1fe4d0d90c 2.0.5 2020-06-07 22:43:44 +02:00
s2
9873246826 auto update only on windows 2020-06-07 22:43:33 +02:00
3 changed files with 29 additions and 27 deletions

View File

@@ -15,7 +15,8 @@ let repoDir = path.resolve(path.normalize(args._.join(' ')));
let repoRootDir = repoDir;
//auto update stuff
setTimeout(() => {
if (process.platform === 'win32') {
setTimeout(() => {
gau.checkForUpdate({
currentVersion: app.getVersion(),
repo: 'https://api.github.com/repos/S2-/gitlit/releases/latest',
@@ -43,7 +44,8 @@ setTimeout(() => {
event: 'updateInstalling'
});
});
}, 5000);
}, 5000);
}
//end update stuff

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "gitlit",
"version": "2.0.4",
"version": "2.0.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "gitlit",
"version": "2.0.4",
"version": "2.0.5",
"description": "",
"main": "app/main.js",
"build": {