File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -455,8 +455,9 @@ function createPackage {
455455
456456 if [ " $PKG_PLATFORM " = " linux64" ]; then
457457 downloader https://github.com/openframeworks/projectGenerator/releases/download/nightly/projectGenerator-linux-gui.gz 2> /dev/null
458- gunzip projectGenerator-linux-gui.gz
459- mv projectGenerator-linux-gui projectGenerator
458+ mkdir -p projectGenerator
459+ tar -xzvf projectGenerator-linux-gui.gz --strip-components=1 -C projectGenerator-linux-gui
460+ # mv projectGenerator-linux-gui projectGenerator
460461 rm -rf apps/projectGenerator
461462 fi
462463
@@ -475,8 +476,9 @@ function createPackage {
475476 rm -rf apps/projectGenerator
476477 elif [ " ${LIBS_ABI} " == " linux64" ]; then
477478 downloader https://github.com/openframeworks/projectGenerator/releases/download/nightly/projectGenerator-linux-gui.gz 2> /dev/null
478- gunzip projectGenerator-linux-gui.gz
479- mv projectGenerator-linux-gui projectGenerator
479+ mkdir -p projectGenerator
480+ tar -xzvf projectGenerator-linux-gui.gz --strip-components=1 -C projectGenerator-linux-gui
481+ # mv projectGenerator-linux-gui projectGenerator
480482 rm -rf apps/projectGenerator
481483 fi
482484
You can’t perform that action at this time.
0 commit comments