commit 39165e4230314ab60b9041bf489f0201d90c9caf Author: Ral <> Date: Sat Feb 22 19:07:08 2025 +0100 Add script to repack files diff --git a/pack.sh b/pack.sh new file mode 100755 index 0000000..4ddd4e2 --- /dev/null +++ b/pack.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -o errexit -o nounset -o pipefail + +IFS=$'\n' + +profilepath=$(readlink -f "${1}"); + +dirpath=$(dirname "${profilepath}"); + +profilename=$(basename "${dirpath}"); + +cd "${dirpath}"; + +zip "${profilename}.streamDeckProfile" -r .; + +mv "${profilename}.streamDeckProfile" ../;