Update cream.sh

add cream_simple
This commit is contained in:
20PercentRendered
2022-11-01 22:17:39 +02:00
committed by GitHub
parent f9f837a30a
commit d16448fb1a

View File

@@ -1,4 +1,13 @@
#!/bin/bash
# this is going to be the default going forwards
if [ "$CREAM_SIMPLE" ]; then
cp "$PWD/libCreamlinux.so" /tmp/libCreamlinux.so
LD_PRELOAD="$LD_PRELOAD /tmp/libCreamlinux.so" "$@"
EXITCODE=$?
rm /tmp/libCreamlinux.so
exit $EXITCODE
fi
result=$(zenity --title="Launch Options" --list "Start Game" "Edit Creamlinux settings" --column="Launch Options")
# Supported games
GAME_NAMES=("Hearts Of Iron IV" "Europa Universalis IV" "Cities: Skylines" "Stellaris" "PDX Launcher" "PAYDAY 2")