Update shell argument instructions

This commit is contained in:
the-sane 2025-04-16 13:32:48 -04:00
parent 68405428d1
commit f15ed324dd

View File

@ -57,7 +57,9 @@ export wine_path="$(command -v wine | xargs dirname)"
# This is useful for getting a wine control panel, debugging, etc. # This is useful for getting a wine control panel, debugging, etc.
# Usage: ./sc-launch.sh shell # Usage: ./sc-launch.sh shell
if [ "$1" = "shell" ]; then if [ "$1" = "shell" ]; then
echo "Entering Wine prefix maintenance shell. Type 'exit' when done." echo "Entering Wine prefix maintenance shell"
echo "Useful commands: winecfg, wine control joy.cpl, wineserver -k"
echo "Type 'exit' when done."
export PATH="$wine_path:$PATH"; export PS1="Wine: " export PATH="$wine_path:$PATH"; export PS1="Wine: "
cd "$WINEPREFIX"; /usr/bin/env bash --norc; exit 0 cd "$WINEPREFIX"; /usr/bin/env bash --norc; exit 0
fi fi