mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
VARA - Initial support for WINE and VARA
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 1 February 2025
|
||||
# Purpose : Common environment variables and functions
|
||||
|
||||
export ESC="\x1B"
|
||||
export RED="${ESC}[1;31m"
|
||||
export BLUE="${ESC}[1;34m"
|
||||
export GREEN="${ESC}[1;32m"
|
||||
export WHITE="${ESC}[97m"
|
||||
export YELLOW="${ESC}[1;33m"
|
||||
export NC="${ESC}[0m"
|
||||
|
||||
show-err-dialog() {
|
||||
local message="$1"
|
||||
dialog --title "Notification" --msgbox "$message" 8 60
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 14 January 2025
|
||||
# Updated : 16 January 2025
|
||||
# Updated : 1 February 2025
|
||||
# Purpose : Back up select files from the user's home directory.
|
||||
#
|
||||
# The backups are limited to the following:
|
||||
@@ -31,7 +31,6 @@ BACKUP_DIRS=(
|
||||
".config/emcomm-tools"
|
||||
".local/share/emcomm-tools"
|
||||
".local/share/pat"
|
||||
".ssh"
|
||||
)
|
||||
|
||||
tar -czf ${BACKUP_FILE} \
|
||||
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 20 January 2025
|
||||
# Updated : 1 February 2025
|
||||
# Purpose : Run VARA FM
|
||||
|
||||
source /opt/emcomm-tools/bin/et-common
|
||||
|
||||
EXE="${HOME}/.wine32/drive_c/VARA FM/VARAFM.exe"
|
||||
|
||||
if [[ -e ${EXE} ]]; then
|
||||
wine ~/.wine32/drive_c/VARA\ FM/VARAFM.exe
|
||||
else
|
||||
echo -e "${RED}"
|
||||
echo -e "${EXE} does not exist."
|
||||
echo -e "You might NOT have installed the windows subsystem (WINE)."
|
||||
echo -e "Navigate to ${WHITE}${HOME}/add-ons/wine${RED} and follow the"
|
||||
echo -e "instructions in the ${WHITE}README.md${RED} file."
|
||||
echo -e "${NC}"
|
||||
exit 1
|
||||
fi
|
||||
Executable
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 20 January 2025
|
||||
# Updated : 1 February 2025
|
||||
# Purpose : Run VARA HF
|
||||
|
||||
source /opt/emcomm-tools/bin/et-common
|
||||
|
||||
EXE="${HOME}/.wine32/drive_c/VARA/VARA.exe"
|
||||
|
||||
if [[ -e ${EXE} ]]; then
|
||||
wine ${EXE}
|
||||
else
|
||||
echo -e "${RED}"
|
||||
echo -e "${EXE} does not exist."
|
||||
echo -e "You might NOT have installed the windows subsystem (WINE)."
|
||||
echo -e "Navigate to ${WHITE}${HOME}/add-ons/wine${RED} and follow the"
|
||||
echo -e "instructions in the ${WHITE}README.md${RED} file."
|
||||
echo -e "${NC}"
|
||||
exit 1
|
||||
fi
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# Author : Gaston Gonzalez
|
||||
# Date : 20 January 2025
|
||||
# Updated : 1 February 2025
|
||||
# Purpose : Run VARA Terminal
|
||||
|
||||
source /opt/emcomm-tools/bin/et-common
|
||||
|
||||
EXE="${HOME}/.wine32/drive_c/VARA/VARA Terminal.exe"
|
||||
|
||||
if [[ -e ${EXE} ]]; then
|
||||
wine ~/.wine32/drive_c/VARA/VARA\ Terminal.exe &
|
||||
else
|
||||
echo -e "${RED}"
|
||||
echo -e "${EXE} does not exist."
|
||||
echo -e "You might NOT have installed the windows subsystem (WINE)."
|
||||
echo -e "Navigate to ${WHITE}${HOME}/add-ons/wine${RED} and follow the"
|
||||
echo -e "instructions in the ${WHITE}README.md${RED} file."
|
||||
echo -e "${NC}"
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user