mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
use dev icon in dev environment
This commit is contained in:
parent
1ac0c4f874
commit
d54f848572
@ -7,6 +7,7 @@ const sqlInit = require('./src/services/sql_init');
|
|||||||
const cls = require('./src/services/cls');
|
const cls = require('./src/services/cls');
|
||||||
const url = require("url");
|
const url = require("url");
|
||||||
const port = require('./src/services/port');
|
const port = require('./src/services/port');
|
||||||
|
const env = require('./src/services/env');
|
||||||
const appIconService = require('./src/services/app_icon');
|
const appIconService = require('./src/services/app_icon');
|
||||||
const windowStateKeeper = require('electron-window-state');
|
const windowStateKeeper = require('electron-window-state');
|
||||||
const contextMenu = require('electron-context-menu');
|
const contextMenu = require('electron-context-menu');
|
||||||
@ -74,7 +75,7 @@ async function createMainWindow() {
|
|||||||
webPreferences: {
|
webPreferences: {
|
||||||
nodeIntegration: true
|
nodeIntegration: true
|
||||||
},
|
},
|
||||||
icon: path.join(__dirname, 'images/app-icons/png/256x256.png')
|
icon: path.join(__dirname, 'images/app-icons/png/256x256' + (env.isDev() ? '-dev' : '') + '.png')
|
||||||
});
|
});
|
||||||
|
|
||||||
mainWindowState.manage(win);
|
mainWindowState.manage(win);
|
||||||
|
BIN
images/app-icons/png/256x256-dev.png
Normal file
BIN
images/app-icons/png/256x256-dev.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 33 KiB |
Loading…
x
Reference in New Issue
Block a user