[wine] try fix winetricks

This commit is contained in:
Maxim Slipenko 2023-09-19 13:47:49 +00:00 committed by GitHub
parent ae8a182675
commit 15390cb411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,8 +29,7 @@ install_debian() {
telnet \ telnet \
cabextract \ cabextract \
gnupg2 \ gnupg2 \
wget \ wget
winetricks
wget https://dl.winehq.org/wine-builds/winehq.key -O - | apt-key add - wget https://dl.winehq.org/wine-builds/winehq.key -O - | apt-key add -
echo "deb https://dl.winehq.org/wine-builds/debian $VERSION_CODENAME main" >/etc/apt/sources.list.d/winehq.list echo "deb https://dl.winehq.org/wine-builds/debian $VERSION_CODENAME main" >/etc/apt/sources.list.d/winehq.list
@ -44,10 +43,10 @@ install_debian() {
fi fi
apt-get update apt-get update
apt-get install -y --no-install-recommends winehq-staging apt-get install -y --install-recommends winehq-staging
# wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O /usr/bin/winetricks wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -O /usr/bin/winetricks
# chmod +rx /usr/bin/winetricks chmod +rx /usr/bin/winetricks
snippet="export WINEHOME=\"$_REMOTE_USER_HOME\" snippet="export WINEHOME=\"$_REMOTE_USER_HOME\"
export WINEPREFIX=\"\$WINEHOME/.wine32\" export WINEPREFIX=\"\$WINEHOME/.wine32\"