3
0
Fork 0
dgwk25-streamdeck-config/pack.sh

17 lines
282 B
Bash
Executable File

#!/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" ../;