Skip to content

Commit

Permalink
Oops, deleted too much
Browse files Browse the repository at this point in the history
  • Loading branch information
JeodC committed Jan 12, 2025
1 parent fb0b7de commit 21828b7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ports/descent/Descent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@ GAME="d1x-rebirth"
ASPECT_X=${ASPECT_X:-4}
ASPECT_Y=${ASPECT_Y:-3}

# CD and set permissions
cd $GAMEDIR
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1
rm -rf "$GAMEDIR/config/gamelog.txt"
$ESUDO chmod +x -R $GAMEDIR/*

# Set config dir
bind_directories ~/.$GAME $GAMEDIR/config

# Add some cheats
if [ ! -f "./cheats.txt" ]; then
Expand Down
7 changes: 7 additions & 0 deletions ports/descent2/Descent 2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@ GAME="d2x-rebirth"
ASPECT_X=${ASPECT_X:-4}
ASPECT_Y=${ASPECT_Y:-3}

# CD and set permissions
cd $GAMEDIR
> "$GAMEDIR/log.txt" && exec > >(tee "$GAMEDIR/log.txt") 2>&1
rm -rf "$GAMEDIR/config/gamelog.txt"
$ESUDO chmod +x -R $GAMEDIR/*

# Set config dir
bind_directories ~/.$GAME $GAMEDIR/config

# Add some cheats
if [ ! -f "./cheats.txt" ]; then
Expand Down

0 comments on commit 21828b7

Please sign in to comment.