Fix desktop launcher hanging by skipping dependency install in non-interactive mode
This commit is contained in:
parent
19f6726a33
commit
25f91570c5
|
|
@ -69,6 +69,11 @@ fi
|
||||||
|
|
||||||
# Install missing dependencies
|
# Install missing dependencies
|
||||||
if [ $MISSING_DEPS -eq 1 ]; then
|
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 ""
|
||||||
echo "📦 Installing missing dependencies..."
|
echo "📦 Installing missing dependencies..."
|
||||||
echo "This may take a few minutes..."
|
echo "This may take a few minutes..."
|
||||||
|
|
@ -100,6 +105,7 @@ if [ $MISSING_DEPS -eq 1 ]; then
|
||||||
|
|
||||||
echo "✅ Dependencies installed successfully!"
|
echo "✅ Dependencies installed successfully!"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Try to read server URL from settings
|
# Try to read server URL from settings
|
||||||
SERVER_URL="http://localhost:5000"
|
SERVER_URL="http://localhost:5000"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue