Files
emcomm-tools-os-community/scripts/install-wine.sh
T

32 lines
899 B
Bash
Raw Normal View History

2025-02-01 01:14:42 -07:00
#!/bin/bash
# Author : Gaston Gonzalez
# Date : 20 January 2025
# Updated : 1 February 2025
# Purpose : Install WINE to support VARA
WIN32_DIR="${HOME}/.win32"
et-log "Installing WINE..."
# Check for an existing i386 architecture
ARCH_OUT=$(dpkg --print-foreign-architectures | grep i386)
[ $? -ne 0 ] && dpkg --add-architecture i386
#if [ ! -e "/etc/apt/keyrings/winehq-archive.key" ]; then
# et-log "Adding apt keys for official wine repo"
# mkdir -pm755 /etc/apt/keyrings
# wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
# wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -sc)/winehq-$(lsb_release -sc).sources
# apt update
# apt install --install-recommends winehq-stable
#fi
apt install \
wine \
winetricks \
exe-thumbnailer \
-y
dialog --textbox wine.txt 15 74
tput sgr 0 && clear