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

auto updater

This commit is contained in:
s2
2020-05-09 12:10:25 +02:00
parent f8076499ba
commit 519d719545
3 changed files with 33 additions and 1 deletions

View File

@@ -13,6 +13,8 @@ let win;
let repoDir = path.resolve(path.normalize(args._.join(' ')));
let repoRootDir = repoDir;
require('update-electron-app')();
function getLfsFileList(dir, cb) {
exec('git ls-files | git check-attr --stdin lockable', {
maxBuffer: (1024 * 1024) * 10, //10MB