Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 9108ea9

Browse files
committed
fix(electron): disable the creation of desktop icon at runtime (closes #1488)
1 parent b0e5849 commit 9108ea9

File tree

3 files changed

+0
-76
lines changed

3 files changed

+0
-76
lines changed

config-sample.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ noAuthentication=false
88
# set to true to disable backups (e.g. because of limited space on server)
99
noBackup=false
1010

11-
# Disable automatically generating desktop icon
12-
# noDesktopIcon=true
13-
1411
[Network]
1512
# host setting is relevant only for web deployments - set the host on which the server will listen
1613
# host=0.0.0.0

electron.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import electron from "electron";
44
import electronDebug from "electron-debug";
55
import electronDl from "electron-dl";
66
import sqlInit from "./src/services/sql_init.js";
7-
import appIconService from "./src/services/app_icon.js";
87
import windowService from "./src/services/window.js";
98
import tray from "./src/services/tray.js";
109

@@ -19,8 +18,6 @@ if ((await import("electron-squirrel-startup")).default) {
1918
// Adds debug features like hotkeys for triggering dev tools and reload
2019
electronDebug();
2120

22-
appIconService.installLocalAppIcon();
23-
2421
electronDl({ saveAs: true });
2522

2623
// needed for excalidraw export https://github.com/zadam/trilium/issues/4271

src/services/app_icon.ts

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)