Skip to content

Commit f23cff2

Browse files
committed
add module path fix to buildin
1 parent cb2b448 commit f23cff2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Castor/Castor.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<ApplicationIcon>castor-icon.ico</ApplicationIcon>
77
<Company>ZtModArchive</Company>
88
<Copyright>MIT License</Copyright>
9-
<Version>3.3.0</Version>
9+
<Version>3.4.0</Version>
1010
<PackageProjectUrl>https://github.com/ZtModArchive/Castor/tree/main/Castor</PackageProjectUrl>
1111
<PackageIcon>castor-icon.ico</PackageIcon>
1212
<PackageIconUrl />

Castor/Services/ZippingService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public void Zip(ZipArchive archive, ICastorConfig config, DirectoryInfo director
1919
Console.WriteLine($"compressing {formattedPath}\\{file.Name}");
2020
if (config.Type == "module" || config.Type == "package")
2121
{
22-
archive.CreateEntryFromFile(file.FullName, $"modules\\{config.RepoName}\\{config.Version.Replace('.', '-')}\\{formattedPath}\\{file.Name}");
22+
archive.CreateEntryFromFile(file.FullName, $"modules\\{config.RepoName}\\{formattedPath}\\{file.Name}");
2323
}
2424
archive.CreateEntryFromFile(file.FullName, $"{formattedPath}\\{file.Name}");
2525
}

0 commit comments

Comments
 (0)