mirror of
https://github.com/bytedream/scripts.git
synced 2025-06-27 02:00:31 +02:00
add spotify patch
This commit is contained in:
21
patches/spotify.sh
Executable file
21
patches/spotify.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
verify_commands() {
|
||||
commands=("curl")
|
||||
for command in "${commands[@]}"; do
|
||||
which $command &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "command '$command' not found"
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
main() {
|
||||
verify_commands
|
||||
|
||||
sh <(curl -sSL https://spotx-official.github.io/run.sh)
|
||||
}
|
||||
|
||||
main
|
||||
|
Reference in New Issue
Block a user