Skip to content

Commit cc29a6a

Browse files
committed
Remove parent directory in html5 export
The html5 exported zip contained the export/html5/* files. The top directory is not needed. The new zip files now include html5/*.
1 parent bc466cc commit cc29a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

export.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ mkdir $EXPORT_DIR
1212
mkdir $EXPORT_DIR/html5
1313
$GODOT --export "HTML5"
1414
mv $EXPORT_DIR/html5/$NAME.html $EXPORT_DIR/html5/index.html
15-
zip -r $EXPORT_DIR/$NAME-web.zip $EXPORT_DIR/html5/
15+
cd $EXPORT_DIR; zip -r $NAME-web.zip html5/; cd -
1616
rm -r $EXPORT_DIR/html5
1717

1818
$GODOT --export "Linux/X11"

0 commit comments

Comments
 (0)