launcher scripts: overridable STATEDIR
This commit is contained in:
parent
4e80ba7ea8
commit
d8648a0df7
3 changed files with 3 additions and 3 deletions
2
dist/saturn40g
vendored
2
dist/saturn40g
vendored
|
@ -5,7 +5,7 @@ cd "$(dirname "$0")" || exit 1
|
|||
|
||||
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
|
||||
|
||||
STATEDIR=$STATE_HOME/saturn/40g
|
||||
STATEDIR=${STATEDIR:-$STATE_HOME/saturn/40g}
|
||||
mkdir -p "$STATEDIR"
|
||||
|
||||
if [ ! -e "$STATEDIR"/rom ]; then
|
||||
|
|
2
dist/saturn48gx
vendored
2
dist/saturn48gx
vendored
|
@ -5,7 +5,7 @@ cd "$(dirname "$0")" || exit 1
|
|||
|
||||
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
|
||||
|
||||
STATEDIR=$STATE_HOME/saturn/48gx
|
||||
STATEDIR=${STATEDIR:-$STATE_HOME/saturn/48gx}
|
||||
mkdir -p "$STATEDIR"
|
||||
|
||||
if [ ! -e "$STATEDIR"/rom ]; then
|
||||
|
|
2
dist/saturn49g
vendored
2
dist/saturn49g
vendored
|
@ -5,7 +5,7 @@ cd "$(dirname "$0")" || exit 1
|
|||
|
||||
STATE_HOME=${XDG_STATE_HOME:-$HOME/.local/state}
|
||||
|
||||
STATEDIR=$STATE_HOME/saturn/49g
|
||||
STATEDIR=${STATEDIR:-$STATE_HOME/saturn/49g}
|
||||
mkdir -p "$STATEDIR"
|
||||
|
||||
if [ ! -e "$STATEDIR"/rom ]; then
|
||||
|
|
Loading…
Reference in a new issue