mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-10-01 23:56:18 +00:00
Update AppRun
This commit is contained in:
@@ -27,7 +27,7 @@ find "${APPDIR}" -name "index.html" -type f || echo "[v0] No index.html found"
|
|||||||
# Check for translation argument
|
# Check for translation argument
|
||||||
if [[ "$1" == "--translate" ]]; then
|
if [[ "$1" == "--translate" ]]; then
|
||||||
echo "🌐 Starting ProxMenux Translation Service..."
|
echo "🌐 Starting ProxMenux Translation Service..."
|
||||||
exec python3 "${APPDIR}/scripts/translator.py" "${@:2}"
|
exec python3 "${APPDIR}/usr/bin/translate_cli.py" "${@:2}"
|
||||||
else
|
else
|
||||||
echo "🚀 Starting ProxMenux Monitor Dashboard..."
|
echo "🚀 Starting ProxMenux Monitor Dashboard..."
|
||||||
echo "📊 Dashboard will be available at: http://localhost:8008"
|
echo "📊 Dashboard will be available at: http://localhost:8008"
|
||||||
@@ -37,5 +37,5 @@ else
|
|||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
# Start the Flask server
|
# Start the Flask server
|
||||||
exec python3 "${APPDIR}/scripts/flask_server.py"
|
exec python3 "${APPDIR}/usr/bin/flask_server.py"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user