Fix "zip" command not having correct arguments

Why so many commits one by one? I need to test them one by one as well. Even if this one doesn't work, I'm going to bed, see you tomorrow.
This commit is contained in:
purple 2023-06-23 22:04:52 +02:00 committed by GitHub
parent 95a5e123a3
commit c0c0244ede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -453,8 +453,8 @@ if [[ $2 == "-export" ]]; then
eval $(parse_yaml .development/conf.yml);
mkdir .storage/tmp/$info_identifier;
cp -R .development/* .storage/tmp/$info_identifier/;
zip .storage/tmp/$info_identifier .storage/tmp/blueprint.zip;
mv .storage/tmp/blueprint.zip ../$info_identifier.blueprint;
zip .storage/tmp/$info_identifier;
mv .storage/tmp/$info_identifier.zip ../$info_identifier.blueprint;
rm -R .storage/tmp/*;
log_bright "[INFO] Extension files should be exported into your Pterodactyl directory now.";