Fix desktop launcher hanging by skipping dependency install in non-interactive mode

This commit is contained in:
ComputerTech 2026-01-20 17:20:33 +00:00
parent 19f6726a33
commit 25f91570c5
2 changed files with 35 additions and 29 deletions

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

View File

@ -69,6 +69,11 @@ fi
# Install missing dependencies
if [ $MISSING_DEPS -eq 1 ]; then
if [[ "$*" == *"--noint"* ]]; then
echo "⚠️ Missing dependencies detected in non-interactive mode"
echo "Please run './launch_qt.sh' from terminal to install dependencies"
# Continue anyway - dependencies might be installed elsewhere
else
echo ""
echo "📦 Installing missing dependencies..."
echo "This may take a few minutes..."
@ -100,6 +105,7 @@ if [ $MISSING_DEPS -eq 1 ]; then
echo "✅ Dependencies installed successfully!"
fi
fi
# Try to read server URL from settings
SERVER_URL="http://localhost:5000"