set icon and app name, closes #201

This commit is contained in:
azivner
2018-11-19 17:16:22 +01:00
parent f20ab45576
commit 3fd45b15e7
3 changed files with 12 additions and 6 deletions

View File

@@ -70,6 +70,8 @@ app.on('activate', () => {
});
app.on('ready', async () => {
app.setAppUserModelId('com.github.zadam.trilium');
mainWindow = await createMainWindow();
const result = globalShortcut.register('CommandOrControl+Alt+P', cls.wrap(async () => {