This commit is contained in:
azivner 2017-10-21 00:19:13 -04:00
parent 83243dd936
commit e0fd38e121
2 changed files with 5 additions and 3 deletions

4
app.js
View file

@ -56,8 +56,8 @@ app.use(session({
path: '../trilium-data/sessions'
})
}));
// uncomment after placing your favicon in /public
//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
app.use(favicon(__dirname + '/public/images/app-icons/favicon.ico'));
app.use('/', indexRoute);
app.use('/login', loginRoute);

View file

@ -1,5 +1,6 @@
'use strict';
const electron = require('electron');
const path = require('path');
const app = electron.app;
@ -18,7 +19,8 @@ function onClosed() {
function createMainWindow() {
const win = new electron.BrowserWindow({
width: 1200,
height: 900
height: 900,
icon: path.join(__dirname, 'public/images/app-icons/png/256x256.png')
});
win.setMenu(null);