Commit 1f1febf
committed
mios.toml: NEW [messages.elevation] + [messages.pass2_exit]
Two more SSOT sections for previously-hardcoded operator-facing
prose:
[messages.elevation] -- the 3-line UAC handoff banner shown
immediately before the Pass-1 -> Pass-2 elevation prompt.
Operator sees these every irm|iex run as a non-admin first
launch.
admin_required -- "MiOS bootstrap requires admin..."
uac_trigger_line -- "Triggering UAC -- accept to continue..."
uac_trigger_hint -- "in the elevated window, single prompt..."
[messages.pass2_exit] -- 5 strings emitted by the Pass-2 inner
heredoc when the bootstrap completes / fails / asks the operator
to close the elevated window:
exited_code_prefix -- "[!] Bootstrap exited with code N"
failure_detail -- "Output above is the failure detail..."
build_log_hint -- "build-mios.ps1's own log only kicks in
on Pass-2 success."
fetch_run_failed -- "[!] Bootstrap fetch/run failed: <err>"
press_enter_close -- "Press Enter to close this elevated
bootstrap window..."
Companion mios-bootstrap commit (c434302) wires both sections
into the resolvers:
* Get-MiOS.ps1 Pass-1 banner reads via Get-MiosTomlValue at
runtime (admin elevation runs in the live process).
* Get-MiOS.ps1 builds the inner-cmd heredoc and bakes the
[messages.pass2_exit] strings as literals at Pass-1 install
time -- the heredoc's spawned pwsh has no toml access yet
(runs before M:\ overlay is staged).1 parent 2640f19 commit 1f1febf
1 file changed
Lines changed: 22 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
270 | 292 | | |
271 | 293 | | |
272 | 294 | | |
| |||
0 commit comments