diff --git a/README.md b/README.md index 62783d11..91c2006a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MightyScape for Inkscape 1.0+ -In short: A maintained extension collection for Inkscape 1.0+, working on Windows and Linux. There are **231 extension folders** with **402 .inx files** inside. We also take part at https://inkscape.org/gallery/=extension/ (with single extension uploads). +In short: A maintained extension collection for Inkscape 1.0+, working on Windows and Linux. There are **233 extension folders** with **406 .inx files** inside. We also take part at https://inkscape.org/gallery/=extension/ (with single extension uploads). # About MightyScape @@ -64,3 +64,9 @@ https://y.stadtfabrikanten.org/donate This repo has two remotes: * https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X (root repo origin) * https://github.com/vmario89/mightyscape-1.X (repo for collaboration. You can create your issues here. Active since May 2021) + +# Zip Archives Mirrors + +If you only want to download single parts of MightyScape, use one of the following mirrors: +* https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X-zipmirror +* https://github.com/vmario89/mightyscape-1.X-zipmirror \ No newline at end of file diff --git a/extensions/fablabchemnitz/000_zipfilemirror.sh b/extensions/fablabchemnitz/000_zipfilemirror.sh new file mode 100755 index 00000000..b5394ef4 --- /dev/null +++ b/extensions/fablabchemnitz/000_zipfilemirror.sh @@ -0,0 +1,20 @@ +#!/bin/bash +clear + echo "Building extension zip files" + TARGETDIR="../../../mightyscape-1.X-zipmirror" + mkdir -p $TARGETDIR > /dev/null 2>&1 + +for EXTENSION in */; do + EXTENSION="${EXTENSION%/}" #strip trailing slash + EXTRA="" + if [[ $EXTENSION == "styles_to_layers" ]] || [[ $EXTENSION == "ungrouper_and_element_migrator_filter" ]]; then + EXTRA="${EXTRA} apply_transformations/" + elif [[ $EXTENSION == "styles_to_layers" ]] || [[ $EXTENSION == "ungrouper_and_element_migrator_filter" ]]; then + EXTRA="${EXTRA} remove_empty_groups/" + fi + ZIPFILE=$TARGETDIR/$EXTENSION.zip + zip -ru $ZIPFILE $EXTENSION/ 000_about_fablabchemnitz.svg $EXTRA > /dev/null 2>&1 + echo "--> creating/updating $ZIPFILE" + + +done