mirror of
https://github.com/zadam/trilium.git
synced 2024-11-10 17:13:45 +08:00
use dev icon in dev environment
This commit is contained in:
parent
1ac0c4f874
commit
d54f848572
2 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ const sqlInit = require('./src/services/sql_init');
|
|||
const cls = require('./src/services/cls');
|
||||
const url = require("url");
|
||||
const port = require('./src/services/port');
|
||||
const env = require('./src/services/env');
|
||||
const appIconService = require('./src/services/app_icon');
|
||||
const windowStateKeeper = require('electron-window-state');
|
||||
const contextMenu = require('electron-context-menu');
|
||||
|
@ -74,7 +75,7 @@ async function createMainWindow() {
|
|||
webPreferences: {
|
||||
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);
|
||||
|
|
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…
Reference in a new issue