1
Fork 0

Revampt jacket loading system

This commit is contained in:
prescientmoon 2024-09-09 18:06:07 +02:00
parent cba88c5def
commit ac4145ee40
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
24 changed files with 750 additions and 261 deletions

13
scripts/copy-chart-info.sh Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
if [ "$#" != 2 ]; then
echo "Usage: $0 <from> <to>"
echo "This script copies the chart/song data from a db to another. Useful for creating new dbs for testing."
exit 1
fi
from="$1/db.sqlite"
to ="$2/db.sqlite"
sqlite3 $from ".dump songs" | sqlite3 $to
sqlite3 $from ".dump charts" | sqlite3 $to