Use same permissions API for installing the launcher
This commit is contained in:
parent
6a67ac8ec2
commit
f2bdf9cdb6
|
@ -95,7 +95,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
// Give the launcher the right permissions so it can be launched by the user
|
// Give the launcher the right permissions so it can be launched by the user
|
||||||
UnixFileInfo file_info = new UnixFileInfo (desktopfile_path);
|
UnixFileInfo file_info = new UnixFileInfo (desktopfile_path);
|
||||||
file_info.Create (FileAccessPermissions.UserReadWriteExecute);
|
file_info.FileAccessPermissions = FileAccessPermissions.UserReadWriteExecute;
|
||||||
|
|
||||||
SparkleHelpers.DebugInfo ("Controller", "Created '" + desktopfile_path + "'");
|
SparkleHelpers.DebugInfo ("Controller", "Created '" + desktopfile_path + "'");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue