working on vara installer

This commit is contained in:
tb14
2025-01-11 09:44:56 -06:00
parent be03d914e1
commit 85cd1d1bb5
2 changed files with 17 additions and 6 deletions
+17 -6
View File
@@ -112,7 +112,7 @@ function noOS_Support() {
yad --image=$DIR/images/corps-icon.png --center --no-buttons \
--title "INVALID OS DETECTED" \
--text "A valid OS was not detected.\n\nThis installer was designed for \
Debian based distros; specifically Raspbian Stretch, Linux Mint 18.3 / 19.1 and Ubuntu 18.04." \
Debian based distros; specifically Linux Mint 21.3 / 22" \
${r} ${c}
exit 1
@@ -122,8 +122,7 @@ function maybeOS_Support() {
if (yad --image=$DIR/images/corps-icon.png --center \
--title "Not Supported OS" \
--text "Your OS may be compatible with this installer but has not been \
tested.\n\nThis installer has been tested on Raspberry Pi OS Buster and Bullseye \
(32bit and 64bit), Linux Mint 20.3 and 21. It should work on most Debian 10 / 11 based distros. \n\nWould you like to continue anyway?" ${r} ${c}) then
tested.\n\nThis installer has been tested on Linux Mint 21.3 and 22. It should work on most Debian 10 / 11 based distros. \n\nWould you like to continue anyway?" ${r} ${c}) then
yad --image=$DIR/images/corps-icon.png --center \
--title "Not Supported OS" \
--text "::: Did not detect perfectly supported OS but,\n\n \
@@ -151,7 +150,7 @@ tested.\n\nThis installer has been tested on Raspberry Pi OS Buster and Bullseye
VER=$(grep "VERSION_ID" /etc/os-release | awk -F "=" '{print $2}' | tr -d '"')
declare -A VER_MAP=(["11"]="bullseye" ["10"]="buster" ["9"]="stretch" ["8"]="jessie" ["16.04"]="xenial" \
["14.04"]="trusty" ["18.04"]="bionic" ["18.10"]="cosmic" ["19.04"]="disco" ["19.10"]="eoan" ["20.04"]="focal" ["18"]="sara" ["18.1"]="serena" \
["18.2"]="sonya" ["18.3"]="sylvia" ["19"]="tara" ["19.1"]="tessa" ["19.2"]="tina" ["19.3"]="tricia" ["20"]="ulyana" ["20.3"]="una" ["21"]="vanessa" ["21.1"]="vera" ["21.2"]="victoria" ["21.3"]="virginia" )
["18.2"]="sonya" ["18.3"]="sylvia" ["19"]="tara" ["19.1"]="tessa" ["19.2"]="tina" ["19.3"]="tricia" ["20"]="ulyana" ["20.3"]="una" ["21"]="vanessa" ["21.1"]="vera" ["21.2"]="victoria" ["21.3"]="virginia" ["22"]="wilma" )
OSCN=${VER_MAP["${VER}"]}
fi
@@ -227,7 +226,9 @@ echo "VARA HF URL: ${VARAHFLINK}"
function primer_menu() {
echo "This program is designed to assist you with installing VARA HF and VARA FM, \
on your linux machine. The current version has been tested on Raspberry Pi Bullseye 64bit, Mint 20.3, and Mint 21. \
on your linux machine. The current version has been tested on Mint 21.3, and Mint 22. \
VarAC only works on Mint 22 at this time.\
Super User (sudo) priveledges are required to perform the apt-get \
commands.
@@ -321,7 +322,7 @@ 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) ]]; then
elif [[ $OSCN =~ (vera|vanessa|victoria|virginia|wilma) ]]; then
sudo apt install -y curl p7zip-full ||
{ ERRCODE="Failed to install dependencies for pulling vara installation files"; errors; return; }
@@ -367,6 +368,15 @@ rm VARA\ FM\ $VARAFMVER*.zip VARA\ HF\ $VARAHFVER*.zip || #VARA\ Chat\ $VARACHAT
}
function installvarac() {
if [[ $OSCN = wilma ]]; then
cd $HOME/setup-scripts/Files/ && wine VarAC_Installer_V10_4_3.exe ||
{ ERRCODE="Failed to install VarAC"; errors; return; }
fi
}
function installrmsexpress() {
cd $HOME/Downloads
wget -q -r -l1 -np -nd -A "Winlink_Express_install_*.zip" https://downloads.winlink.org/User%20Programs ||
@@ -459,6 +469,7 @@ if [[ $PLAT = Linuxmint ]]; then
usergroups
install_wine
installvara_mint
installvarac
#installrmsexpress
else
pi_install
Binary file not shown.