diff options
author | Marco Pompili | 2024-04-07 19:56:37 +0200 |
---|---|---|
committer | Marco Pompili | 2024-04-07 19:56:37 +0200 |
commit | 9b78d7b8e22f42b60583e8fa24745b89b6c3d4a1 (patch) | |
tree | 3a040d6835d8a1d27d951c4a995bd4f54b6993a2 /daphne.sh | |
download | aur-daphne-bin.tar.gz |
initial commit, migrated from daphne
Diffstat (limited to 'daphne.sh')
-rwxr-xr-x | daphne.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/daphne.sh b/daphne.sh new file mode 100755 index 000000000000..e7d3d7131d29 --- /dev/null +++ b/daphne.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +if [ ! -e $HOME/.daphne ]; then + echo "Running Daphne for the first time..." + echo "Copy your framefiles/roms/mpegs to the corresponding folders" + echo "within $HOME/.daphne and reference them from the command-line." + echo "Ex: daphne lair vldp -framefile '~/.daphne/framefile/lair.txt'" + mkdir $HOME/.daphne + mkdir $HOME/.daphne/{roms,mpegs} + cp -R /usr/share/daphne/roms/* $HOME/.daphne/roms/ + cd /usr/share/daphne + ./daphne "$@" +else + export PATH=/usr/share/daphne:$PATH + cd /usr/share/daphne + ./daphne "$@" +fi |