Compare commits

...

2 Commits

Author SHA1 Message Date
JustArchi
b51e4c459c Fix ASF being unable to chmod +x things anymore 2020-11-17 14:13:36 +01:00
JustArchi
f4a4f0c19d Update Directory.Build.props 2020-11-17 11:55:11 +01:00
2 changed files with 4 additions and 2 deletions

View File

@@ -215,8 +215,10 @@ namespace ArchiSteamFarm {
internal const uint EnableQuickEditMode = 0x0040;
internal const sbyte StandardInputHandle = -10;
[DllImport("libc", CharSet = CharSet.Unicode, EntryPoint = "chmod", SetLastError = true)]
#pragma warning disable CA2101
[DllImport("libc", EntryPoint = "chmod", SetLastError = true)]
internal static extern int Chmod(string path, int mode);
#pragma warning restore CA2101
[DllImport("kernel32.dll")]
internal static extern bool GetConsoleMode(IntPtr hConsoleHandle, out uint lpMode);

View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>5.0.0.1</Version>
<Version>5.0.0.2</Version>
</PropertyGroup>
<PropertyGroup>