Skip to content

Commit af43fde

Browse files
committed
Fix: ADXHIDIOMod path
1 parent 4fd5c4c commit af43fde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

MaiChartManager/Controllers/Mod/InstallationController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public void DeleteHidConflict()
102102
[NonAction]
103103
private static bool GetIsMmlLibInstalled()
104104
{
105-
if (System.IO.File.Exists(Path.Combine(StaticSettings.GamePath, "ADXHIDIOMod.dll")))
105+
if (System.IO.File.Exists(Path.Combine(StaticSettings.GamePath, @"Mods\ADXHIDIOMod.dll")))
106106
{
107107
return false;
108108
}
@@ -122,9 +122,9 @@ private static bool GetIsMmlLibInstalled()
122122
public void InstallMmlLibs()
123123
{
124124
if (GetIsMmlLibInstalled()) return;
125-
if (System.IO.File.Exists(Path.Combine(StaticSettings.GamePath, "ADXHIDIOMod.dll")))
125+
if (System.IO.File.Exists(Path.Combine(StaticSettings.GamePath, @"Mods\ADXHIDIOMod.dll")))
126126
{
127-
System.IO.File.Delete(Path.Combine(StaticSettings.GamePath, "ADXHIDIOMod.dll"));
127+
System.IO.File.Delete(Path.Combine(StaticSettings.GamePath, @"Mods\ADXHIDIOMod.dll"));
128128
}
129129
if (!System.IO.File.Exists(Path.Combine(StaticSettings.GamePath, @"Sinmai_Data\Plugins\hidapi.dll")))
130130
{

0 commit comments

Comments
 (0)