From f23cff276d7b1e3662a6d06369f3a3078ca5c2fb Mon Sep 17 00:00:00 2001 From: Apodemus Erectus Date: Mon, 4 Oct 2021 14:38:59 +0200 Subject: [PATCH] add module path fix to buildin --- Castor/Castor.csproj | 2 +- Castor/Services/ZippingService.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Castor/Castor.csproj b/Castor/Castor.csproj index 12886a0..bef4453 100644 --- a/Castor/Castor.csproj +++ b/Castor/Castor.csproj @@ -6,7 +6,7 @@ castor-icon.ico ZtModArchive MIT License - 3.3.0 + 3.4.0 https://github.com/ZtModArchive/Castor/tree/main/Castor castor-icon.ico diff --git a/Castor/Services/ZippingService.cs b/Castor/Services/ZippingService.cs index 2d5f631..25a6fb9 100644 --- a/Castor/Services/ZippingService.cs +++ b/Castor/Services/ZippingService.cs @@ -19,7 +19,7 @@ public void Zip(ZipArchive archive, ICastorConfig config, DirectoryInfo director Console.WriteLine($"compressing {formattedPath}\\{file.Name}"); if (config.Type == "module" || config.Type == "package") { - archive.CreateEntryFromFile(file.FullName, $"modules\\{config.RepoName}\\{config.Version.Replace('.', '-')}\\{formattedPath}\\{file.Name}"); + archive.CreateEntryFromFile(file.FullName, $"modules\\{config.RepoName}\\{formattedPath}\\{file.Name}"); } archive.CreateEntryFromFile(file.FullName, $"{formattedPath}\\{file.Name}"); }