Use same permissions API for installing the launcher

This commit is contained in:
Hylke Bons 2011-03-07 00:33:05 +00:00
parent 883cd90770
commit 167a27783f

View file

@ -95,7 +95,7 @@ namespace SparkleShare {
// 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);
file_info.FileAccessPermissions = FileAccessPermissions.UserReadWriteExecute;
SparkleHelpers.DebugInfo ("Controller", "Created '" + desktopfile_path + "'");