Windows shortcut arguments are removed #10260
Replies: 2 comments
|
Hi @florinbuda85! I'm Dosu and I’m helping the Trilium team. This happens because the Trilium Windows installer recreates the desktop shortcut during each update, using the default executable path and removing any custom arguments. This is standard behavior for Electron Forge-based installers and there are currently no options to preserve custom shortcut arguments automatically—manual restoration after each update is required. There’s no official documentation or config setting for Windows to change this behavior, and any solution would require customizing the installer scripts at the project level. On Linux, there are workarounds to disable or script desktop icon creation, but nothing equivalent is documented for Windows at this time citation. To reply, just mention @dosu. Docs are dead. Just use Dosu. |
|
I believe that most Windows applications that create a Desktop shortcut will replace the existing shortcut during reinstallation. The workaround is simple, just rename the shortcut and the installer won't overwrite it. |
Uh oh!
There was an error while loading. Please reload this page.
Description
Because I use a self signed certificate on my raspberry pi server I must use have a shortcut on my desktop with the following command <<"C:\Users\Buda Florin\AppData\Local\trilium\trilium.exe" --ignore-certificate-errors>>
But each time I update Trilium the installer reset the command to "C:\Users\Buda Florin\AppData\Local\trilium\trilium.exe"
TriliumNext Version
0.99.4, but all of them
What operating system are you using?
Windows
What is your setup?
Local + server sync
Operating System Version
W11
Error logs
No response
All reactions