diff --git a/AmRRON-Vara-setup.sh b/AmRRON-Vara-setup.sh index b24ecac..5b8522f 100755 --- a/AmRRON-Vara-setup.sh +++ b/AmRRON-Vara-setup.sh @@ -1,9 +1,9 @@ #!/bin/bash ################################################################################ ################################################################################ - ####################### AmRRON Vara Setup v.1.0.1 ###################### + ####################### AmRRON Vara Setup v.1.1 ###################### ####################### Created by TB-14 ###################### - ####################### 23 FEB 2025 ###################### + ####################### 05 APR 2025 ###################### ################################################################################ ################################################################################ @@ -462,10 +462,16 @@ fi sudo apt install -y curl p7zip-full winbind|| { ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; } -winetricks -q dotnet48 || +WINEPREFIX="${WINEPREFIX:-$HOME/.wine}" + if [ -f "$WINEPREFIX/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll" ]; then + echo ".NET Framework 4.8 is already installed." + else + winetricks -q dotnet48 || { ERRCODE="Failed to install winetricks dotnet48"; errors; return; } + fi -cd $HOME/setup-scripts/Files/ && wine VarAC_Installer_V10_4_3.exe || + +cd $HOME/setup-scripts/Files/ && wine VarAC_Installer_V11_0_7.exe || { ERRCODE="Failed to install VarAC"; errors; return; } else diff --git a/changelogs/CHANGELOG-Vara-setup.md b/changelogs/CHANGELOG-Vara-setup.md index 364ee27..1c36bce 100644 --- a/changelogs/CHANGELOG-Vara-setup.md +++ b/changelogs/CHANGELOG-Vara-setup.md @@ -1,3 +1,5 @@ +# Version 1.1 +- Updated to VarAC v11 # Version 1.0 - Added git repo checking before the script runs instead of just a note. # Version 0.9.4.1