-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_browser.sh
More file actions
37 lines (30 loc) · 920 Bytes
/
Copy pathrun_browser.sh
File metadata and controls
37 lines (30 loc) · 920 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
# Servo Browser Launcher
# This script launches the servoshell browser with proper configuration
set -e
echo "=== Servo Browser Launcher ==="
echo
# Check for servoshell binary
if [ ! -f "servo_origin/target/debug/servoshell.exe" ]; then
echo "❌ Error: servoshell binary not found"
echo "Please build servoshell first:"
echo " cd servo_origin/ports/servoshell"
echo " cargo build --target x86_64-pc-windows-msvc"
exit 1
fi
# Default URL
DEFAULT_URL="file:///D:/workspace/claude/servo-multi/servo_src/fixtures/multilingual-test.html"
# Check if URL provided as argument
if [ -n "$1" ]; then
URL="$1"
else
URL="$DEFAULT_URL"
fi
echo "Browser: servo_origin/target/debug/servoshell.exe"
echo "URL: $URL"
echo
echo "Launching browser..."
echo "Close the browser window (Alt+F4 or Ctrl+C) to exit."
echo
# Launch servoshell
"./servo_origin/target/debug/servoshell.exe" "$URL"