@@ -93,17 +93,18 @@ jobs:
9393 run : |
9494 if [ -d "dist/mac/5chan.app" ]; then
9595 echo "Testing dist/mac/5chan.app..."
96- # Run the app with a timeout - it will start IPFS which takes time
96+ # Run the app in background - it will start IPFS which takes time
9797 # We just verify it launches without crashing
98- timeout 15s ./dist/mac/5chan.app/Contents/MacOS/5chan &
98+ ./dist/mac/5chan.app/Contents/MacOS/5chan &
9999 APP_PID=$!
100- sleep 8
100+ sleep 10
101101 # Check if process is still running (means it started successfully)
102102 if kill -0 $APP_PID 2>/dev/null; then
103103 echo "✓ App started successfully"
104104 kill $APP_PID 2>/dev/null || true
105105 # Also kill any child processes (IPFS)
106106 pkill -P $APP_PID 2>/dev/null || true
107+ pkill -f ipfs 2>/dev/null || true
107108 exit 0
108109 else
109110 echo "✗ App failed to start or crashed"
@@ -162,17 +163,18 @@ jobs:
162163 fi
163164
164165 echo "Testing $APP_PATH..."
165- # Run the app with a timeout - it will start IPFS which takes time
166+ # Run the app in background - it will start IPFS which takes time
166167 # We just verify it launches without crashing
167- timeout 15s "./$APP_PATH/Contents/MacOS/5chan" &
168+ "./$APP_PATH/Contents/MacOS/5chan" &
168169 APP_PID=$!
169- sleep 8
170+ sleep 10
170171 # Check if process is still running (means it started successfully)
171172 if kill -0 $APP_PID 2>/dev/null; then
172173 echo "✓ App started successfully"
173174 kill $APP_PID 2>/dev/null || true
174175 # Also kill any child processes (IPFS)
175176 pkill -P $APP_PID 2>/dev/null || true
177+ pkill -f ipfs 2>/dev/null || true
176178 exit 0
177179 else
178180 echo "✗ App failed to start or crashed"
0 commit comments