Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix zip archive decompression problem. #103

Merged
merged 4 commits into from
Mar 15, 2024
Merged

Conversation

ahai-code
Copy link
Contributor

@ahai-code ahai-code commented Mar 12, 2024

fix #94

@@ -179,21 +180,46 @@ type ZipDecompressor struct {
}

func (z *ZipDecompressor) Decompress(dest string) error {
rootFolderInZip := FindRootFolderInZip(z.src)

This comment was marked as spam.

if err != nil {
return err
}
}
return nil
}

func (z *ZipDecompressor) processZipFile(f *zip.File, dest string) error {
func FindRootFolderInZip(zipFilePath string) string {

This comment was marked as spam.

internal/util/decompressor.go Outdated Show resolved Hide resolved
internal/util/decompressor.go Outdated Show resolved Hide resolved
@aooohan aooohan merged commit 7836e9c into version-fox:main Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Dotnet无法正常使用
3 participants