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

update to latest electron version

This commit is contained in:
s2
2020-07-07 10:40:27 +02:00
parent 1fe4d0d90c
commit e719261427
5 changed files with 1031 additions and 1566 deletions

View File

@@ -162,7 +162,15 @@ function loadRepoPage() {
function createWindow() {
// Create the browser window.
win = new BrowserWindow({title: 'gitlit v' + app.getVersion(), width: 800, height: 700});
win = new BrowserWindow({
title: 'gitlit v' + app.getVersion(),
width: 800,
height: 700,
webPreferences: {
nodeIntegration: true,
enableRemoteModule: true
}
});
win.setMenu(null);
// and load the index.html of the app.