#!/bin/bash
sudo sh <<EOF
echo "deb https://dl.winehq.org/wine-builds/debian/ bookworm main" >> /etc/apt/sources.list.d/wine.list && \
curl -sS https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/winehq.gpg && \
dpkg --add-architecture i386 && \
apt update && \
apt install --install-recommends winehq-stable -y && \
apt install winetricks -y
EOF

winecfg -v win10
