diff --git a/Castor/Castor.csproj b/Castor/Castor.csproj index 1ae40a0..12886a0 100644 --- a/Castor/Castor.csproj +++ b/Castor/Castor.csproj @@ -6,7 +6,7 @@ castor-icon.ico ZtModArchive MIT License - 3.2.0 + 3.3.0 https://github.com/ZtModArchive/Castor/tree/main/Castor castor-icon.ico diff --git a/Castor/Services/InstallerService.cs b/Castor/Services/InstallerService.cs index beff6ec..f869627 100644 --- a/Castor/Services/InstallerService.cs +++ b/Castor/Services/InstallerService.cs @@ -49,8 +49,8 @@ public void InstallModule(string packageName, bool addToConfig = false) { firstSubDir = subDirectories[0]; } - - CopyFilesRecursively($"{guid}/{firstSubDir.Split('\\')[1]}", $"modules/{packageArgs[0]}/{packageArgs[1]}/{packageArgs[2].Replace('.', '-')}"); + + CopyFilesRecursively($"{guid}/{firstSubDir.Split('\\')[1]}", $"modules/{packageArgs[0]}/{packageArgs[1]}"); Console.WriteLine($"preparing cleanup for {guid}"); var directory = new DirectoryInfo($"{guid}") { Attributes = FileAttributes.Normal };