Fix autostart on linux
This commit is contained in:
parent
e78f66c923
commit
daa264e7cf
|
@ -69,10 +69,6 @@ namespace SparkleShare {
|
||||||
"X-GNOME-Autostart-enabled=true\n" +
|
"X-GNOME-Autostart-enabled=true\n" +
|
||||||
"Categories=Network");
|
"Categories=Network");
|
||||||
|
|
||||||
// Give the launcher the right permissions so it can be launched by the user
|
|
||||||
UnixFileInfo file_info = new UnixFileInfo (desktopfile_path);
|
|
||||||
file_info.Create (FileAccessPermissions.UserReadWriteExecute);
|
|
||||||
|
|
||||||
SparkleHelpers.DebugInfo ("Controller", "Added SparkleShare to login items");
|
SparkleHelpers.DebugInfo ("Controller", "Added SparkleShare to login items");
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in a new issue