Remove internal chmod +x after update

According to the .NET 6.0 ZipFile changes, .NET can now preserve chmod +x after extracting archive, so this "workaround" should no longer be needed
This commit is contained in:
Archi
2021-11-11 18:41:52 +01:00
parent 0c8d77b3d9
commit 951d9dc99f
11 changed files with 3 additions and 20 deletions

View File

@@ -309,14 +309,6 @@ public static class ASF {
return null;
}
if (OperatingSystem.IsFreeBSD() || OperatingSystem.IsLinux() || OperatingSystem.IsMacOS()) {
string executable = Path.Combine(SharedInfo.HomeDirectory, SharedInfo.AssemblyName);
if (File.Exists(executable)) {
OS.UnixSetFileAccess(executable, OS.EUnixPermission.Combined755);
}
}
ArchiLogger.LogGenericInfo(Strings.UpdateFinished);
return newVersion;