Skip to content

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

@m-triassi

Description

@m-triassi

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions