added parameter to script

This commit is contained in:
Daniel Sommer 2023-11-23 14:52:11 +01:00
parent 8a0d5dee9d
commit 5912306a1c

View file

@ -10,7 +10,6 @@ count=""
# directory and file variables
dir="$(dirname $(realpath $0))"
bin="$dir/gosplash"
# check if the binary exists
@ -24,4 +23,4 @@ bin="$dir/gosplash"
echo "$GOSPLASH_APIKEY"
# run gosplash
$bin
$bin "$1"