mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
wine check
This commit is contained in:
+20
-1
@@ -349,9 +349,12 @@ function install_wine_resolute() {
|
||||
cd ~/ && wget -N https://github.com/Kron4ek/Wine-Builds/releases/download/9.16/wine-9.16-amd64.tar.xz ||
|
||||
{ ERRCODE="Failed to download wine 9.16"; errors; return; }
|
||||
|
||||
wget -N wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks && chmod +x winetricks ||
|
||||
wget -N wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks ||
|
||||
{ ERRCODE="Failed to download winetricks"; errors; return; }
|
||||
|
||||
chmod +x winetricks ||
|
||||
{ ERRCODE="Failed to make winetricks executable"; errors; return; }
|
||||
|
||||
tar -xf ~/wine-9.16-amd64.tar.xz && rm wine-9.16-amd64.tar.xz ||
|
||||
{ ERRCODE="Failed to extract archive"; errors; return; }
|
||||
|
||||
@@ -434,6 +437,10 @@ fi
|
||||
function install_varahf() {
|
||||
#download/install VARA HF
|
||||
|
||||
if ! hash wine 2>/dev/null; then
|
||||
return
|
||||
fi
|
||||
|
||||
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; }
|
||||
@@ -494,6 +501,10 @@ unzip VARA\ HF\ $VARAHFVER*.zip ||
|
||||
|
||||
function install_varafm() {
|
||||
|
||||
if ! hash wine 2>/dev/null; then
|
||||
return
|
||||
fi
|
||||
|
||||
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; }
|
||||
@@ -555,6 +566,9 @@ unzip VARA\ FM\ $VARAFMVER*.zip ||
|
||||
|
||||
function install_varac() {
|
||||
|
||||
if ! hash wine 2>/dev/null; then
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ $OSCN =~ wilma|xia|zara|zena|noble|plucky|resolute ]]; then
|
||||
|
||||
@@ -592,6 +606,11 @@ fi
|
||||
}
|
||||
|
||||
function install_rmsexpress() {
|
||||
|
||||
if ! hash wine 2>/dev/null; then
|
||||
return
|
||||
fi
|
||||
|
||||
cd $HOME/Downloads
|
||||
wget -q -r -l1 -np -nd -A "Winlink_Express_install_*.zip" https://downloads.winlink.org/User%20Programs ||
|
||||
{ ERRCODE="Failed to download Winlink Express"; errors; return; }
|
||||
|
||||
Reference in New Issue
Block a user