You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In one of our projects, Cozy Drive for Desktop, we use the library to manage the creation and suppression of ~/.config/autostart/{appName}.desktop.
The executable is named through our build process that uses electron-builder, here is a .desktop sample that is created:
➜ cozy-desktop (master) ✗ cat ~/.local/share/applications/appimagekit-cozydrive.desktop
[Desktop Entry]
Name=Cozy Drive
Comment=Save them safely in your open source personal cloud, access them anywhere, anytime with the mobile application and share them with the world or just your friends and colleagues. You can host your own Cozy Cloud, and or use the hosting services. Your freedom to chose is why you can trust us.
Exec="/home/enguerran/Development/cozy/cozy-desktop/releases/CozyDrive-3.9.1-beta.2-x86_64.AppImage" %U
Terminal=false
Type=Application
Icon=appimagekit-cozydrive
X-AppImage-Version=3.9.1-beta.2.5865
X-AppImage-BuildId=34f00d20-bdce-11a8-0949-6f597858ee2b
StartupNotify=true
Categories=Network;FileTransfer;
X-Desktop-File-Install-Version=0.24
X-AppImage-Comment=Generated by /tmp/.mount_CozyDrPcYa5G/AppRun
TryExec=/home/enguerran/Development/cozy/cozy-desktop/releases/CozyDrive-3.9.1-beta.2-x86_64.AppImage
As you can see, the Exec value is leading to a binary AppImage named CozyDrive-3.9.1-beta.2-x86_64.AppImage.
Long story short: given the following opts value to auto-launch we were expecting to see ~/.config/autostart/Cozy-Desktop.desktop:
In one of our projects, Cozy Drive for Desktop, we use the library to manage the creation and suppression of
~/.config/autostart/{appName}.desktop
.The executable is named through our build process that uses
electron-builder
, here is a.desktop
sample that is created:As you can see, the
Exec
value is leading to a binary AppImage namedCozyDrive-3.9.1-beta.2-x86_64.AppImage
.Long story short: given the following
opts
value toauto-launch
we were expecting to see~/.config/autostart/Cozy-Desktop.desktop
:https://github.com/cozy-labs/cozy-desktop/blob/12e6d212c8b810542a33f36283b75a1af9819b08/gui/js/autolaunch.js#L3-L6
But as you can see in the screenshot, with opts set to
We get
~/.config/autostart/ls.desktop
. Soopts.name
seems override byfixOpts
andexecPath
.Is that a wanted behavior?
The text was updated successfully, but these errors were encountered: