Commit 06f557f
committed
chore(sanitize): replace hardcoded user-paths with USER / runtime placeholders
User-detected paths now propagate at install/runtime via shell variables;
day-0 shipped artifacts default to literal USER placeholder where shell
expansion is not available (e.g. inside markdown aggregates).
Files touched:
- MiOS-Build-Scripts.md (4 section headers)
'C:\Users\Administrator\OneDrive\Documents\GitHub\'
-> 'C:\Users\USER\OneDrive\Documents\GitHub\'
- tools/fix-token-input.ps1 (DESCRIPTION block 'Run from repo root' hint)
'cd C:\Users\\MiOS\OneDrive\Documents\GitHub\\MiOS'
-> 'cd $env:USERPROFILE\OneDrive\Documents\GitHub\MiOS'
PowerShell resolves $env:USERPROFILE at runtime to the actual user.
- tools/manifest.json
Regenerated the fix-token-input.ps1 'full_content' entry from the
updated source so the embedded copy matches.
- tools/Xbox-AutoEnroll.xml, tools/fix-xbox-secureboot.sh
'/home/ISOs/Win11_25H2_English_x64.iso'
-> '/var/lib/libvirt/images/Win11_25H2_English_x64.iso'
Canonical libvirt image pool location; not user-specific.
- tools/system-assess.sh (usage examples in two places)
'/home/mios/my-assessment.txt'
-> '~/my-assessment.txt' (shell expands at runtime)
Residue check after this commit: zero hits across both repos for
'C:\Users\(Administrator|MiOS|admin)' and zero '/home/ISOs/'.
Bootstrap repo was already clean and needs no follow-up.1 parent a9244a7 commit 06f557f
6 files changed
Lines changed: 50 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
896 | 896 | | |
897 | 897 | | |
898 | 898 | | |
899 | | - | |
| 899 | + | |
900 | 900 | | |
901 | 901 | | |
902 | 902 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments