diff --git a/AmRRON-Vara-setup.sh b/AmRRON-Vara-setup.sh index d9092fd..58c7fbf 100755 --- a/AmRRON-Vara-setup.sh +++ b/AmRRON-Vara-setup.sh @@ -398,16 +398,8 @@ unzip VARA\ FM\ $VARAFMVER*.zip || function install_varac() { -if [[ $OSCN = una ]]; then -sudo apt install -y curl libcurl4-openssl-dev libssl-dev || -{ ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; } -elif [[ $OSCN =~ (vera|vanessa|victoria|virginia|wilma) ]]; then - -sudo apt install -y curl p7zip-full winbind|| -{ ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; } - -fi +if [[ $OSCN = wilma ]]; then if [[ ! -f $HOME/.wine/drive_c/windows/system32/pdh.dll ]]; then cd $HOME/Downloads && wget http://files.k6eta.com/pdh.dll.zip || @@ -420,7 +412,11 @@ else echo "Driver already installed" fi -if [[ $OSCN = wilma ]]; then +sudo apt install -y curl p7zip-full winbind|| +{ ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; } + +winetricks -q dotnet48 || +{ ERRCODE="Failed to install winetricks dotnet48"; errors; return; } cd $HOME/setup-scripts/Files/ && wine VarAC_Installer_V10_4_3.exe || { ERRCODE="Failed to install VarAC"; errors; return; } @@ -429,6 +425,7 @@ else { ERRCODE="VarAC is only compatible with Mint 22 at this time."; errors; return; } fi + } function install_rmsexpress() {