#!/bin/sh

dir="$(dirname "$(readlink -f "$0")")"
root="${dir}/../"
root="$(realpath "$root")"

source "${dir}/pack.properties"

cd "${dir}/legacy"
zip -rv "${root}/dist/${TITLE}_Auto-Update-Legacy.zip"
cd -
cd "${dir}/unsup" || exit
zip -rv "${root}/dist/${TITLE}_Auto-Update.zip" .
cd - || exit
printf %s\\n "Auto update distributions created!"
