Was always running dfhack, whoops
This commit is contained in:
parent
f4fa10b575
commit
8e4885636c
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
dwarfdir="$HOME/df_linux"
|
dwarfdir="$HOME/df_linux"
|
||||||
|
timestamp=$(date +"%Y%m%d-%H.%M.%S")
|
||||||
|
|
||||||
# Remove libstdc++.so.6 since it's too old for bitbreaker
|
# Remove libstdc++.so.6 since it's too old for bitbreaker
|
||||||
if [[ -f "$dwarfdir/libs/libstdc++.so.6" ]]; then
|
if [[ -f "$dwarfdir/libs/libstdc++.so.6" ]]; then
|
||||||
|
@ -8,11 +9,14 @@ if [[ -f "$dwarfdir/libs/libstdc++.so.6" ]]; then
|
||||||
echo "Removed bundled libstdc++.so.6"
|
echo "Removed bundled libstdc++.so.6"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Clear the gamelog for stream
|
||||||
|
mv "$dwarfdir/gamelog.txt" "$dwarfdir/logs/gamelog-$timestamp.txt"
|
||||||
|
|
||||||
cd $dwarfdir
|
cd $dwarfdir
|
||||||
|
|
||||||
if [[ -f "dfhack" ]]; then
|
if [[ -f "dfhack" ]]; then
|
||||||
echo "DFHack installed, using dfhack"
|
echo "DFHack installed, using dfhack"
|
||||||
./dfhack
|
alacritty -e ./dfhack -t "DFHack"
|
||||||
else
|
else
|
||||||
./dfhack
|
./df
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue