mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
favicon
This commit is contained in:
4
index.js
4
index.js
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user