mirror of
https://github.com/S2-/gitlit
synced 2025-08-02 12:20:05 +02:00
auto update only on windows
This commit is contained in:
@@ -15,6 +15,7 @@ let repoDir = path.resolve(path.normalize(args._.join(' ')));
|
||||
let repoRootDir = repoDir;
|
||||
|
||||
//auto update stuff
|
||||
if (process.platform === 'win32') {
|
||||
setTimeout(() => {
|
||||
gau.checkForUpdate({
|
||||
currentVersion: app.getVersion(),
|
||||
@@ -44,6 +45,7 @@ setTimeout(() => {
|
||||
});
|
||||
});
|
||||
}, 5000);
|
||||
}
|
||||
|
||||
//end update stuff
|
||||
|
||||
|
Reference in New Issue
Block a user