Upload files to "/"

This commit is contained in:
2026-06-07 14:29:25 +00:00
parent 27a6ee5101
commit 10286cfb0e
4 changed files with 404 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
cd "$(dirname "$0")"
pkill -f xampp-backend 2>/dev/null
pkill -f http-server 2>/dev/null
pkill -f 'python3 -m http.server' 2>/dev/null
sleep 1
sudo -v
echo "Starting XAMPP GUI Backend..."
python3 xampp-backend.py &
python3 http-server.py &
sleep 1
xdg-open "http://localhost:8080/" 2>/dev/null || \
firefox "http://localhost:8080/" 2>/dev/null || \
echo "Open manually: http://localhost:8080/"
echo "GUI running at: http://localhost:8080/"
wait