-
Notifications
You must be signed in to change notification settings - Fork 25
Description
When a user enables "autostart" on GNU/Linux via the Preferences pane, Gridsync's creates an XDG-compliant .desktop file with an Exec value that points to the path of the current Gridsync executable. In the case of running the application via an AppImage, however, the "true" path of the Gridsync executable becomes set to the temporary directory that the AppImage bootloader mounts via FUSE -- whose path is partially random and subject to change between launches (and is thus not reliable for the purposes of autostart). This functionality should be fixed/updated so that the created .desktop file points to the location of the AppImage file itself instead of the temporary directory (i.e., by referencing the APPIMAGE environment variable instead of sys.executable/sys.argv[0]).