Commit ce8d1ae
committed
feat: Windows support
- Use named pipes (//./pipe/surf) instead of Unix sockets on win32
- Route temp files to %LOCALAPPDATA%/Temp/surf instead of /tmp
- Fix ImageMagick resize: quote geometry arg to prevent cmd.exe
interpreting > as redirect
- Skip Unix-only operations (chmod, unlink socket) on win32
- Network store defaults to %LOCALAPPDATA%/surf on Windows
Tested on Windows 11 ARM64 with Chromium (scoop), Node 24,
ImageMagick 7. All core features working: navigation, page reading,
screenshots (with resize), tab management.1 parent dfbc169 commit ce8d1ae
File tree
6 files changed
+42
-25
lines changed- native
6 files changed
+42
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| |||
268 | 271 | | |
269 | 272 | | |
270 | 273 | | |
271 | | - | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
272 | 277 | | |
273 | | - | |
| 278 | + | |
274 | 279 | | |
275 | 280 | | |
276 | | - | |
| 281 | + | |
277 | 282 | | |
278 | 283 | | |
279 | 284 | | |
| |||
2449 | 2454 | | |
2450 | 2455 | | |
2451 | 2456 | | |
2452 | | - | |
| 2457 | + | |
2453 | 2458 | | |
2454 | 2459 | | |
2455 | 2460 | | |
| |||
2813 | 2818 | | |
2814 | 2819 | | |
2815 | 2820 | | |
2816 | | - | |
| 2821 | + | |
2817 | 2822 | | |
2818 | 2823 | | |
2819 | 2824 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | | - | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | | - | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
76 | | - | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
| |||
288 | 294 | | |
289 | 295 | | |
290 | 296 | | |
291 | | - | |
292 | | - | |
293 | | - | |
| 297 | + | |
294 | 298 | | |
295 | 299 | | |
296 | 300 | | |
| |||
1204 | 1208 | | |
1205 | 1209 | | |
1206 | 1210 | | |
1207 | | - | |
| 1211 | + | |
1208 | 1212 | | |
1209 | | - | |
| 1213 | + | |
1210 | 1214 | | |
1211 | 1215 | | |
1212 | 1216 | | |
1213 | 1217 | | |
1214 | 1218 | | |
1215 | | - | |
| 1219 | + | |
1216 | 1220 | | |
1217 | 1221 | | |
1218 | 1222 | | |
| |||
1440 | 1444 | | |
1441 | 1445 | | |
1442 | 1446 | | |
1443 | | - | |
| 1447 | + | |
1444 | 1448 | | |
1445 | 1449 | | |
1446 | 1450 | | |
| |||
1452 | 1456 | | |
1453 | 1457 | | |
1454 | 1458 | | |
1455 | | - | |
| 1459 | + | |
1456 | 1460 | | |
1457 | 1461 | | |
1458 | 1462 | | |
1459 | 1463 | | |
1460 | 1464 | | |
1461 | 1465 | | |
1462 | | - | |
| 1466 | + | |
1463 | 1467 | | |
1464 | 1468 | | |
1465 | 1469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments