dragon-iso/src
Zac Gaetano 54ee578fe9
Some checks failed
CI / build-and-test (push) Failing after 26s
fix(wpf): de-elevate via runas env-var marker (CLI arg breaks runas /trustlevel)
The earlier de-elevation attempts failed because runas /trustlevel:0x20000 rejects any args after the program path (returns exit code 1 silently). Switch the relaunch loop-guard from --relaunched CLI arg to TEAMSISO_RELAUNCHED env var, which runas inherits and propagates cleanly. Also: always demote when elevated regardless of parent (the parent==explorer heuristic was too narrow; the runas demotion is cheap enough to do unconditionally), and add a StartupTrace fallback log at %LOCALAPPDATA%\\TeamsISO\\startup-trace.log that captures every checkpoint in OnStartup so future launch failures can be diagnosed without Serilog being up.

Verified end-to-end: elevated parent (PID 47536, isAdmin=True) -> spawns runas -> medium-integrity child (PID 51228, isAdmin=False) -> NDI discovery succeeds (vm.Participants.Count=2 at +5s). The TryDeElevateAndExit now returns bool so spawn failures fall through to normal startup instead of leaving the process in a zombie state.

Opt-out: --keep-elevation CLI arg bypasses the demotion.
2026-05-16 12:16:55 -04:00
..
TeamsISO.App fix(wpf): de-elevate via runas env-var marker (CLI arg breaks runas /trustlevel) 2026-05-16 12:16:55 -04:00
TeamsISO.Console feat(engine+console): SMPTE test-pattern generator + --test-pattern flag 2026-05-10 09:41:33 -04:00
TeamsISO.Engine fix: cold-start discovery + installer shortcuts + single-instance hardening 2026-05-16 11:23:19 -04:00
TeamsISO.Engine.NdiInterop Wire engine audio peak metering — UI VU bars now animate 2026-05-10 13:28:26 -04:00
tests test: integration — App+MainWindow STA smoke, control-surface live VM, theme XAML load 2026-05-15 21:34:09 -04:00
.gitkeep chore: add empty TeamsISO solution 2026-05-07 15:07:58 +00:00