Repository navigation
Commit 6ea69c9
committed
fix(server): Windows launcher recovery selects the installed runtime
Following the Windows steps left service-state.json selecting the old server:
install.ps1 installs the runtime and rewrites t3.cmd but does not touch the
service selection, so the new launcher started the old server with a context
it rejects. The steps now stop the launcher and write a service state that
selects the installed version with no update record before starting it again.
This also drops the launcher's t3.cmd repoint: local shim writers take no lock
it could share, so a concurrent install or `t3 update` could be downgraded.
The message says plainly that the manual swap repeats on each launcher
protocol change until Windows has a service installer.
Fixes #34435
AI-assisted; verified with the tests and tools listed above.1 parent b45926d commit 6ea69c9
4 files changed
Lines changed: 11 additions & 64 deletions
File tree
- apps/server/src
- cloud
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
399 | 398 | | |
400 | 399 | | |
401 | 400 | | |
| |||
408 | 407 | | |
409 | 408 | | |
410 | 409 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | 410 | | |
422 | 411 | | |
423 | 412 | | |
| |||
473 | 462 | | |
474 | 463 | | |
475 | 464 | | |
476 | | - | |
| 465 | + | |
477 | 466 | | |
478 | 467 | | |
479 | 468 | | |
| |||
491 | 480 | | |
492 | 481 | | |
493 | 482 | | |
494 | | - | |
| 483 | + | |
495 | 484 | | |
496 | 485 | | |
497 | 486 | | |
498 | 487 | | |
499 | 488 | | |
500 | | - | |
| 489 | + | |
501 | 490 | | |
502 | 491 | | |
503 | 492 | | |
| |||
527 | 516 | | |
528 | 517 | | |
529 | 518 | | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | 519 | | |
540 | 520 | | |
541 | 521 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | 142 | | |
151 | 143 | | |
152 | 144 | | |
| |||
980 | 972 | | |
981 | 973 | | |
982 | 974 | | |
983 | | - | |
| 975 | + | |
984 | 976 | | |
985 | 977 | | |
986 | 978 | | |
| |||
1016 | 1008 | | |
1017 | 1009 | | |
1018 | 1010 | | |
1019 | | - | |
1020 | | - | |
1021 | | - | |
1022 | | - | |
1023 | | - | |
1024 | | - | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
1034 | | - | |
1035 | | - | |
1036 | | - | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
1040 | | - | |
1041 | | - | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
1046 | | - | |
1047 | | - | |
1048 | | - | |
1049 | | - | |
1050 | 1011 | | |
1051 | 1012 | | |
1052 | 1013 | | |
| |||
0 commit comments