[wine] try fix winetricks

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

View File

@ -29,7 +29,8 @@ 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
@ -45,8 +46,8 @@ install_debian() {
apt-get update apt-get update
apt-get install -y --no-install-recommends winehq-staging apt-get install -y --no-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\"