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 af43fde commit 729d538Copy full SHA for 729d538
MaiChartManager/Controllers/Mod/InstallationController.cs
@@ -174,7 +174,9 @@ public void InstallAquaMai()
174
var src = Path.Combine(StaticSettings.exeDir, "AquaMai.dll");
175
var dest = Path.Combine(StaticSettings.GamePath, @"Mods\AquaMai.dll");
176
Directory.CreateDirectory(Path.GetDirectoryName(dest));
177
- FileSystem.CopyFile(src, dest, true);
+ using var read = System.IO.File.OpenRead(src);
178
+ using var write = System.IO.File.Open(dest, FileMode.Create);
179
+ read.CopyTo(write);
180
}
181
182
[HttpPost]
0 commit comments