forked from friendica/friendica-addons
ae28f6ef01
This addon loads all media attachments of a post into a "fancybox" instead of linking directly to the media. Each post gets its own attachment library, when there are more than one media attached you can scroll through them.
17 lines
326 B
Text
Executable file
17 lines
326 B
Text
Executable file
MODULE=fancybox
|
|
|
|
cd ..
|
|
|
|
# read actual version from module.json
|
|
|
|
# old releases not needed anymore
|
|
mkdir -p $MODULE/dist
|
|
rm $MODULE/dist/*
|
|
|
|
# create release for actual version
|
|
zip -r9 $MODULE/dist/release.zip $MODULE/* -x $MODULE/dist/\* -x $MODULE/test/\* $MODULE/createrelease
|
|
|
|
echo release/release.zip created.
|
|
|
|
cd $MODULE
|
|
|