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

4 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
s2
b8a94f650f 2.0.4 2020-06-07 22:17:29 +02:00
s2
e97a5c1fc2 just readme 2020-06-07 22:17:26 +02:00
4 changed files with 30 additions and 28 deletions

View File

@@ -46,7 +46,7 @@ npm run dist
``` ```
## notes ## notes
Since version 2.0.1 the app auto updates itself. Since version 2.0.1 the app auto updates itself using the [github-app-updater](https://www.npmjs.com/package/github-app-updater).
## license ## license

View File

@@ -15,6 +15,7 @@ let repoDir = path.resolve(path.normalize(args._.join(' ')));
let repoRootDir = repoDir; let repoRootDir = repoDir;
//auto update stuff //auto update stuff
if (process.platform === 'win32') {
setTimeout(() => { setTimeout(() => {
gau.checkForUpdate({ gau.checkForUpdate({
currentVersion: app.getVersion(), currentVersion: app.getVersion(),
@@ -44,6 +45,7 @@ setTimeout(() => {
}); });
}); });
}, 5000); }, 5000);
}
//end update stuff //end update stuff

2
package-lock.json generated
View File

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

View File

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