update db.sh to set default directory if not exist

This commit is contained in:
ksyasuda committed 2021-11-10 00:22:24 -08:00
1 parent 3852365391
commit 29a656784a
1 file changed
+2
+2
View File
@@ -1,5 +1,7 @@
#!/usr/bin/env bash
[ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config"
DIR="$XDG_CONFIG_HOME/aniwrapper"
DB='history.sqlite3'