Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jgraph/drawio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benson <david@draw.io>2022-01-17 14:55:39 +0300
committerGitHub <noreply@github.com>2022-01-17 14:55:39 +0300
commit4db23f7081b48177975930829e638eeb46cf60b7 (patch)
tree12d43b479e16136ce116ab9fc0c9fb4898c8f7e2
parent8dedbe2f11f9cc882666dec3be49b7a3050d33dc (diff)
parent957c2bf290bb43bdb233448a0c294e03f51d07c8 (diff)
Merge pull request #2556 from zaroth/patch-1
Fix incorrect application icon behavior on Linux
-rw-r--r--src/main/webapp/electron.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/webapp/electron.js b/src/main/webapp/electron.js
index 2ada4ab9..a3cd47ef 100644
--- a/src/main/webapp/electron.js
+++ b/src/main/webapp/electron.js
@@ -81,6 +81,7 @@ function createWindow (opt = {})
backgroundColor: '#FFF',
width: 1600,
height: 1200,
+ icon: `${__dirname}/images/drawlogo256.png`,
webViewTag: false,
'web-security': true,
webPreferences: {
@@ -1903,4 +1904,4 @@ ipcMain.on("rendererReq", async (event, args) =>
{
event.reply('mainResp', {error: true, msg: e.message, e: e, reqId: args.reqId});
}
-}); \ No newline at end of file
+});