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

show gitlit version in window title

This commit is contained in:
s2
2020-05-09 12:22:21 +02:00
parent e032eb2ab0
commit 8f3705ba74
2 changed files with 1 additions and 2 deletions

View File

@@ -3,7 +3,6 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>gitlit</title>
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>

View File

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