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
+1
View File
@@ -3,6 +3,7 @@
.config/ags/scss/_musicwal.scss .config/ags/scss/_musicwal.scss
.config/ags/scss/_material.scss .config/ags/scss/_material.scss
/diagnose.result /diagnose.result
/ii_ags.log
/cache /cache
# Ignore Python cache files # Ignore Python cache files
__pycache__/ __pycache__/
+10
View File
@@ -38,6 +38,16 @@ ii_check_venv() {
which gradience-cli which gradience-cli
deactivate 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" e "Checking git repo info"
x git remote get-url origin x git remote get-url origin