1
0
mirror of https://github.com/km4ack/patmenu2.git synced 2025-05-17 15:20:11 -07:00

x86 initial

This commit is contained in:
KM4ACK 2022-10-20 13:45:07 -05:00
parent 4031df6a4e
commit 1f98092695

View File

@ -108,11 +108,11 @@ SETRIG
fi fi
echo "starting VARA HF" echo "starting VARA HF"
/usr/local/bin/wine $HOME/.wine/drive_c/VARA/VARA.exe > /dev/null 2>&1 & /usr/bin/wine $HOME/.wine/drive_c/VARA/VARA.exe > /dev/null 2>&1 &
sleep 7 #give vara time to start sleep 7 #give vara time to start
#verify vara has started #verify vara has started
PIDVARA=$(ps aux | grep -i box86 | grep VARA.exe) PIDVARA=$(ps aux | grep VARA.exe)
if [ -z "$PIDVARA" ] if [ -z "$PIDVARA" ]
then then
yad --title="FAILED" --width=400 --height=100 \ yad --title="FAILED" --width=400 --height=100 \
@ -130,14 +130,9 @@ fi
sleep 1 sleep 1
#restart pat so terminal window correctly reflects rig control #restart pat so terminal window correctly reflects rig control
sudo systemctl restart pat@`whoami` sudo -A systemctl restart pat@`whoami`
echo "starting browser" echo "starting browser"
#open pat inbox in browser #open pat inbox in browser
export DISPLAY=:0 && xdg-open http://127.0.0.1:$PORT > /dev/null 2>&1 export DISPLAY=:0 && xdg-open http://127.0.0.1:$PORT > /dev/null 2>&1
#echo "cleaning up and closing"
#varapid=`ps aux | grep -i box86 | grep VARA.exe`
#kill $varapid > /dev/null 2>&1
#kill $rigpid > /dev/null 2>&1