From 9057f8cceb98dfb0f278fb98e05b7ee9d545767a Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Tue, 14 Jun 2022 06:13:05 +0200 Subject: [PATCH] :wrench: Put all effects into one archive --- kwin/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kwin/build.sh b/kwin/build.sh index 33a02dd..6931aa8 100755 --- a/kwin/build.sh +++ b/kwin/build.sh @@ -116,9 +116,6 @@ generate() { then clang-format -i "$BUILD_DIR/$DIR_NAME/contents/code/main.js" fi - - # Finally, create an archive for the effect. - tar -C "$BUILD_DIR" -czf "$DIR_NAME.tar.gz" "$DIR_NAME" } # Now run the above method for all supported effects. @@ -129,3 +126,7 @@ generate "fire" "[BMW] Fire" "The classic effect inspired by Compiz" generate "hexagon" "[BMW] Hexagon" "With glowing lines and hexagon-shaped tiles, this effect looks very sci-fi" generate "tv" "[BMW] TV Effect" "Make windows close like turning off a TV" generate "wisps" "[BMW] Wisps" "Let your windows be carried away to the realm of dreams by these little fairies" + +# Finally, create an archive for the effects. +# shellcheck disable=SC2046 +tar -cjf "burn_my_windows_kwin4.tar.gz" -C "$BUILD_DIR" $(ls "$BUILD_DIR") \ No newline at end of file