Add diagnose for AGS but not enabled

This commit is contained in:
clsty
2025-02-18 10:27:07 +08:00
parent 688b28a5f7
commit 107bf1da95
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -38,6 +38,16 @@ ii_check_venv() {
which gradience-cli
deactivate
}
ii_check_ags() {
pkill ags
pkill agsv1
agsv1 > ii_ags.log 2>&1 &
GUI_PID=$!
sleep 10
kill $GUI_PID
echo "AGS log saved to \"ii_ags.log\"."
}
#x ii_check_ags
e "Checking git repo info"
x git remote get-url origin