We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 637117d commit 3d758f5Copy full SHA for 3d758f5
Assets/PatchKit Patcher/Scripts/AppData/Local/Pack1Unarchiver.cs
@@ -130,7 +130,10 @@ private void UnpackRegularFile(Pack1Meta.FileEntry file)
130
using (var fileWritter = new FileStream(destPath, FileMode.CreateNew))
131
{
132
Streams.Copy(gzipStream, fileWritter);
133
- Chmod.SetMode(file.Mode.Substring(3), destPath);
+ if (Platform.IsPosix())
134
+ {
135
+ Chmod.SetMode(file.Mode.Substring(3), destPath);
136
+ }
137
}
138
139
0 commit comments