Page 1 of 1

Can't upload mod to portal

Posted: Sun Mar 17, 2019 10:04 pm
by danielbrauer
I keep getting an error about not having the right directory structure, but it's as straightforward as could be. I created the zip with

Code: Select all

git archive --format zip
But I get this error from the form:
Error: Your mod ZIP has the wrong structure. Mod files including info.json must be in a directory. (code: 500)
Here is the zip file:
DiscoScience_0.0.3.zip
(1.03 MiB) Downloaded 84 times

Re: Can't upload mod to portal

Posted: Sun Mar 17, 2019 10:08 pm
by Bilka
Read the error message. You need another directory inside your zip file, and the mod files *inside* that.

Re: Can't upload mod to portal

Posted: Sun Mar 17, 2019 10:26 pm
by danielbrauer
Ah of course, thank you! I forget that Mac OS creates a root folder when unzipping, even if it wasn't present in the zip.