tiny little tweaks

master
Ismael Barros 2014-03-08 22:53:24 +01:00
parent 4c6897f868
commit 20d8b1ad77
2 changed files with 5 additions and 2 deletions

View File

@ -17,7 +17,7 @@ export PATH="$PWD/usr/bin/:${PATH}"
[ -z "$*" ] && show_usage "usage.txt"
$APPDIR/usr/bin/wineserver -k
"$APPDIR/usr/bin/wineserver" -k
setup_keepResolution
export WINEPREFIX=_WINEPREFIX_
@ -31,7 +31,7 @@ if [ ! -d "$WINEPREFIX" ]; then
for i in $APPDIR/winetricks/*; do
ln -sf "$i" ~/.cache/winetricks/
done
$APPDIR/usr/bin/winetricks -q $WINETRICKS
"$APPDIR/usr/bin/winetricks" -q $WINETRICKS
fi
mkdir -p "$WINEPREFIX"

View File

@ -23,6 +23,9 @@ done
OSIMAGE="$1"
APPIMAGE="$2"
[ $OSIMAGE ] || { echo "Please specify an OS image"; exit 1; }
[ $APPIMAGE ] || { echo "Please specify an AppImage or AppDir"; exit 1; }
WORKDIR="$(mktemp -d /tmp/runInChroot.XXXXXXXXXX)"
MOUNTPOINT_UNION="$WORKDIR/union"
MOUNTPOINT_UNIONFS="$WORKDIR/unionfs"