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

Curseforge install fails to create directory when addon is unnested #25

Open
m-triassi opened this issue Feb 18, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@m-triassi
Copy link
Owner

Description

When installing an addon that contains its files in the top level directory, ie: addon files are directly zipped without a containing folder, an error is raised.

Expected Behavior

When a zipped file immediately contains addon files, it should deposit those files into a containing directory

Actual Behavior

The unzip loop in curseforge.go:145 attempts to loop over files (lua, markdown, etc...) treating them as folders to be deposited in the dest directory. This causes an error to be thrown.

@m-triassi m-triassi added the bug Something isn't working label Feb 18, 2024
@m-triassi m-triassi self-assigned this Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant