Skip to content

Commit

Permalink
add module path fix to buildin
Browse files Browse the repository at this point in the history
  • Loading branch information
Zt-freak committed Oct 4, 2021
1 parent cb2b448 commit f23cff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Castor/Castor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<ApplicationIcon>castor-icon.ico</ApplicationIcon>
<Company>ZtModArchive</Company>
<Copyright>MIT License</Copyright>
<Version>3.3.0</Version>
<Version>3.4.0</Version>
<PackageProjectUrl>https://github.com/ZtModArchive/Castor/tree/main/Castor</PackageProjectUrl>
<PackageIcon>castor-icon.ico</PackageIcon>
<PackageIconUrl />
Expand Down
2 changes: 1 addition & 1 deletion Castor/Services/ZippingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
}
Expand Down

0 comments on commit f23cff2

Please sign in to comment.