Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ format follows keep a changelog. versions are git tags like `v0.1.0`.
## [Unreleased]
### added
- repository health files and read-only CI validation.
- `docs/APPS.md` with install IDs, config paths, theme scope, and manual steps for the desktop apps.
- configured LibreWolf and Mem Reduct folders. LibreWolf gets safe `defaultPref` overrides and three profiles; Mem Reduct gets a comment-only portable config.

### changed
- the IoT browser is now `LibreWolf.LibreWolf` with configured profiles and overrides. Default browser is a printed Settings step, not a forced launch.
- qBittorrent now ships with WebUI off, UPnP off, no web password in the repo, and loopback only for local opt-in.
- Windows Terminal keeps Windows PowerShell 5.1 and Command Prompt, starts in the user profile, and drops the stale PowerShell 7 entry.
- daily and IoT VSCodium settings now activate the bundled Graphite Amber theme instead of a default theme with duplicate color overrides.
- rewrote the README around quick start, profiles, verification, and repo layout. added `QUICKSTART.md` and local Graphite Amber preview cards. refreshed repo description and topics.
- switched banners, badges, VSCodium, and Windows Terminal to Graphite Amber. the old theme family is gone.
- renamed the repo to `win11-engineering-stack`. the old URL still redirects.
Expand All @@ -27,6 +33,10 @@ format follows keep a changelog. versions are git tags like `v0.1.0`.
- deleted the `tests/` suite on request. `-DryRun` is the remaining preflight check.

### fixed
- IoT `-Verify` now runs before log, state, transcript, and report setup, so the read-only path writes nothing.
- `Install.ps1 -Verify` is an alias for the matching validator, `Install.ps1 -Status` reports saved daily state, and `Validate.ps1` defaults to `daily`.
- the UAC relaunch waits for the elevated child and returns its exit code. daily modules can mark failure, and the run summary prints ok, skip, warn, and fail counts with the next command.
- the IoT 7-Zip smoke test accepts `C:\Program Files\7-Zip\7z.exe` when `7z` is not on `PATH`.
- IoT `-Verify` now reads the VSCodium theme property directly. the old call used a helper that the standalone script never loaded, so existing settings were misreported as invalid JSON.
- dry-run output now says that logs and the IoT report are still written. theme and config messages no longer claim a write happened in dry-run.
- daily module discovery now uses `-File`, and preflight no longer creates the log root that the front door already creates.
Expand Down
15 changes: 0 additions & 15 deletions Helium/README.md

This file was deleted.

18 changes: 0 additions & 18 deletions Helium/master_preferences

This file was deleted.

37 changes: 32 additions & 5 deletions Install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,44 @@
.DESCRIPTION
-Profile daily runs the modular engineering setup.
-Profile iot runs the slim LTSC installer.
Extra switches pass through to that profile unchanged.
Common switches are declared here. Other switches pass through unchanged.
-Verify calls the matching validator. -Status is daily only.

.EXAMPLE
.\Install.ps1 -Profile daily -DryRun
.\Install.ps1 -Profile iot -DryRun
.\Install.ps1 -Profile iot -ConfigsOnly
.\Install.ps1 -Profile daily -Verify
.\Install.ps1 -Profile daily -Status
#>
[CmdletBinding()]
param(
[ValidateSet('daily', 'iot')][string]$Profile = 'daily',
[switch]$DryRun,
[switch]$Force,
[string[]]$Only = @(),
[switch]$Resume,
[switch]$Verify,
[switch]$Status,
[Parameter(ValueFromRemainingArguments = $true)][string[]]$PassThru = @()
)

Set-StrictMode -Version Latest
$ErrorActionPreference = 'Stop'

$root = Split-Path -Parent $MyInvocation.MyCommand.Path

if ($Verify) {
$entry = Join-Path $root 'Validate.ps1'
& powershell -NoProfile -ExecutionPolicy Bypass -File $entry -Profile $Profile
if ($null -ne $LASTEXITCODE -and $LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
exit 0
}

if ($Status -and $Profile -ne 'daily') {
throw '-Status is only available for the daily profile.'
}

if ($Profile -eq 'iot') {
$entry = Join-Path $root 'install-Win-Iot.ps1'
}
Expand All @@ -34,8 +55,14 @@ if (-not (Test-Path -LiteralPath $entry)) {
throw "Missing profile entry point: $entry"
}

& powershell -NoProfile -ExecutionPolicy Bypass -File $entry @PassThru
if ($null -ne $LASTEXITCODE -and $LASTEXITCODE -ne 0) {
exit $LASTEXITCODE
}
$arguments = @()
if ($DryRun) { $arguments += '-DryRun' }
if ($Force) { $arguments += '-Force' }
if ($Only.Count -gt 0) { $arguments += @('-Only', ($Only -join ',')) }
if ($Resume) { $arguments += '-Resume' }
if ($Status) { $arguments += '-Status' }
$arguments += $PassThru

& powershell -NoProfile -ExecutionPolicy Bypass -File $entry @arguments
if ($null -ne $LASTEXITCODE -and $LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
exit 0
31 changes: 31 additions & 0 deletions LibreWolf/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# LibreWolf

The browser in the IoT profile is `LibreWolf.LibreWolf`. It is in the core app
list. The installer is used, not the portable launcher.

## What the script places

- `%USERPROFILE%\.librewolf\librewolf.overrides.cfg`, fresh-only.
- Three profiles under `%APPDATA%\LibreWolf\Profiles`: `personal`, `uni`, `social`.
- Start Menu shortcuts that open each profile with `-P <name> -no-remote`.

The overrides file uses `defaultPref`, so anything you change in the UI wins on
the next run. LibreWolf ships hardened. This file only sets startup behavior and
an explicit warning before closing several tabs. No site-breaking prefs.

## What stays manual

Windows 11 protects the default browser choice. The script prints the step
instead of forcing it:

```text
Settings > Apps > Default apps > Web browser > LibreWolf
```

Sign in to each profile separately. Do not reuse a personal account in the uni
or social profile.

## Theme

LibreWolf keeps its native light UI. Engineering apps stay native light; only
Windows Terminal and VSCodium use Graphite Amber.
6 changes: 6 additions & 0 deletions LibreWolf/librewolf.overrides.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// librewolf.overrides.cfg
// safe defaults only. defaultPref lets the user override in the UI.
defaultPref("browser.startup.page", 1);
defaultPref("browser.startup.homepage", "about:home");
defaultPref("browser.tabs.warnOnClose", true);
defaultPref("general.warnOnAboutConfig", false);
26 changes: 26 additions & 0 deletions MemReduct/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Mem Reduct

Optional app in the IoT profile. Added with `-IncludeOptional`. Winget ID:
`Henry++.MemReduct`. The app needs admin rights for its Native API cleanup.

## Config

`memreduct.ini` is copied fresh-only to:

```text
%APPDATA%\Henry++\Mem Reduct\memreduct.ini
```

The repo ships a comment-only file. Mem Reduct writes its own settings there on
first run, so the config stays valid across versions. No registry edits, no
password, no machine-specific path.

## Behavior

- No autostart.
- No interval cleanup.
- No threshold cleanup.
- Native light UI.

This is a tray monitor you open by hand. It is not a tweak pass or a debloat
tool, and it does not touch Defender.
3 changes: 3 additions & 0 deletions MemReduct/memreduct.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
; Mem Reduct config placeholder.
; The app writes its own settings here on first run.
; Auto-clean and autostart stay off by design.
35 changes: 24 additions & 11 deletions QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ elevates itself when a step needs it.
```

`-DryRun` prints planned writes, downloads, and installs. it does not change
system settings, installs, or config files. logs and a report are still written.
read the output before the real run.
system settings, installs, or config files. daily still writes its log and
transcript; iot also writes a report. read the output before the real run.

## 2. run a profile

Expand All @@ -28,28 +28,41 @@ old one-click flow.
## 3. verify without writing

```powershell
.\Validate.ps1 -Profile daily
.\Validate.ps1 -Profile iot
.\Install.ps1 -Profile daily -Verify
.\Install.ps1 -Profile iot -Verify
```

exit 0 means the checked state is present. exit 1 means at least one real check
failed. host-only misses are reported as `FAIL` or `WARN` and do not change the
machine.
`-Verify` on the front door calls the matching validator. you can also call
`Validate.ps1` directly; it defaults to `daily`. exit 0 means the checked state
is present. exit 1 means at least one real check failed. neither path writes a
log, transcript, report, or setting.

## 4. read daily state

```powershell
.\Install.ps1 -Profile daily -Status
```

`-Status` prints completed modules, pending reboot, and the next command. it
reads the saved state file only.

## common filters

```powershell
.\scripts\Install.ps1 -Only os,apps -SxsPath D:\sources\sxs
.\scripts\Install.ps1 -Only engineering -TiaInstaller D:\TIA\Start.exe -MatlabInstaller D:\MATLAB\setup.exe
.\scripts\Install.ps1 -Resume
.\Install.ps1 -Profile daily -Only os,apps -SxsPath D:\sources\sxs
.\Install.ps1 -Profile daily -Only engineering -TiaInstaller D:\TIA\Start.exe -MatlabInstaller D:\MATLAB\setup.exe
.\Install.ps1 -Profile daily -Resume
.\Install.ps1 -Profile iot -ConfigsOnly
```

`install-Win-Iot.ps1 -?` lists the full IoT flag set. useful ones are
`-Unattended`, `-ConfigsOnly`, `-OfflineDir`, `-NoWingetBootstrap`,
`-DriverDir`, `-Only`, `-SkipApps`, and `-Fixes`.
`-DriverDir`, `-Only`, `-SkipApps`, and `-IncludeOptional`. Mem Reduct is an
optional IoT app.

## where to go next

- [app inventory](docs/APPS.md) for install IDs, config paths, and manual steps
- [CLI contract](docs/CLI.md) for front doors and flag meanings
- [runbook](docs/RUNBOOK.md) for run order and manual steps
- [security](SECURITY.md) for image assumptions and secrets
Expand Down
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ filters, resume, and the full flag list, read [CLI contract](docs/CLI.md).
```

Exit 0 means the checked state is present. Exit 1 means at least one real check
failed. These commands only read system state. The IoT `-Verify` path writes a
log and transcript before the check.
failed. Both paths only read system state. Neither writes a log, transcript, or
report. `Install.ps1 -Verify` is an alias for the matching `Validate.ps1` call.

Daily state is read-only with `.\Install.ps1 -Status`. It prints completed
modules, pending reboot, and the next command.

## What the modules do

Expand Down Expand Up @@ -86,6 +89,16 @@ apps keep their native light theme. See the
[visual standard](https://github.com/SOSMLG/.github/blob/main/docs/THEME.md) or
[الطابع البصري](https://github.com/SOSMLG/.github/blob/main/docs/THEME.ar.md).

## Desktop apps

See the [app inventory](docs/APPS.md) for install IDs, config paths, and manual steps.

- 7-Zip is in both app lists. The IoT self-check also accepts the Program Files install path.
- qBittorrent ships with WebUI off, UPnP off, no stored web password, and loopback only if WebUI is enabled locally. Existing configs are kept.
- LibreWolf is the IoT browser. It gets three isolated profiles, Start Menu shortcuts, and safe `defaultPref` overrides. Default browser is a manual Settings step.
- Mem Reduct is optional via `-IncludeOptional`. No autostart, no scheduled cleanup, native light UI.
- Windows Terminal keeps one Graphite Amber scheme and no stale PowerShell 7 profile.

## OmniRoute and OpenCode

OmniRoute listens on `127.0.0.1:20128`. Set `OMNIROUTE_API_KEY` as a user
Expand Down
4 changes: 2 additions & 2 deletions THIRD-PARTY-NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ engines per app, first hit wins: staged `-OfflineDir` files, winget, GitHub rele

| item | ids / source | license (confirm) |
|---|---|---|
| Helium | `ImputNet.Helium` | |
| LibreWolf | `LibreWolf.LibreWolf` | |
| VSCodium | `VSCodium.VSCodium` | |
| Vesktop | `Vencord.Vesktop` | |
| Telegram Desktop | `Telegram.TelegramDesktop` | |
Expand All @@ -19,7 +19,7 @@ engines per app, first hit wins: staged `-OfflineDir` files, winget, GitHub rele
| opencode | `SST.opencode`. CI also installs `opencode-ai@1.19.4` from npm to validate configs | |
| shell pack | Starship, zoxide, fzf, bat, eza, Fastfetch | |
| Windows Terminal | `Microsoft.WindowsTerminal` | |
| optional (`-IncludeOptional`) | Obsidian, Spotify | |
| optional (`-IncludeOptional`) | Obsidian, Spotify, Mem Reduct (`Henry++.MemReduct`) | |
| runtimes | VC++ 2005 to 2022, .NET 8 Desktop Runtime | |
| context7 MCP, Playwright MCP | `@upstash/context7-mcp@4.4.4`, `@playwright/mcp@0.0.83`, fetched by `npx` the first time OpenCode starts them | |

Expand Down
4 changes: 2 additions & 2 deletions Validate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
Read-only validation for the selected profile.

.DESCRIPTION
-Profile daily calls scripts/Validate.ps1 and is the default.
-Profile iot calls install-Win-Iot.ps1 -Verify.
-Profile daily calls scripts/Validate.ps1.
Neither path writes settings.
#>
[CmdletBinding()]
param(
[ValidateSet('daily', 'iot')][string]$Profile = 'iot'
[ValidateSet('daily', 'iot')][string]$Profile = 'daily'
)

Set-StrictMode -Version Latest
Expand Down
10 changes: 5 additions & 5 deletions Vesktop/quickcss.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ body {
--custom-dms-background: off; /* off to disable, image to use a background image (must set url variable below), color to use a custom color/gradient */
--dms-background-image-url: url(''); /* url of the background image */
--dms-background-image-size: cover; /* size of the background image (css background-size property) */
--dms-background-color: linear-gradient(70deg, var(--blue-2), var(--purple-2), var(--red-2)); /* fixed color/gradient (css background property) */
--dms-background-color: var(--bg-3); /* flat graphite when a custom dms icon is enabled */

/* background image options */
--background-image: off; /* off: no background image, on: enable background image (must set url variable below) */
Expand Down Expand Up @@ -113,10 +113,10 @@ body {
--accent-4: var(--red-4); /* accent buttons when hovered */
--accent-5: var(--red-5); /* accent buttons when clicked */
--accent-new: var(--red-2); /* muted/deafened controls use the accent */
--mention: linear-gradient(to right, color-mix(in hsl, var(--accent-2), transparent 88%) 40%, transparent); /* background of messages that mention you */
--mention-hover: linear-gradient(to right, color-mix(in hsl, var(--accent-2), transparent 93%) 40%, transparent); /* background of messages that mention you when hovered */
--reply: linear-gradient(to right, color-mix(in hsl, var(--text-3), transparent 90%) 40%, transparent); /* background of messages that reply to you */
--reply-hover: linear-gradient(to right, color-mix(in hsl, var(--text-3), transparent 95%) 40%, transparent); /* background of messages that reply to you when hovered */
--mention: rgba(232, 163, 61, 0.12); /* background of messages that mention you */
--mention-hover: rgba(232, 163, 61, 0.18); /* background of messages that mention you when hovered */
--reply: rgba(216, 211, 200, 0.08); /* background of messages that reply to you */
--reply-hover: rgba(216, 211, 200, 0.12); /* background of messages that reply to you when hovered */

/* status indicator colors */
--online: #8FB57A;
Expand Down
18 changes: 11 additions & 7 deletions WindowsTerminal/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# Windows Terminal

`install-Win-Iot.ps1` installs `Microsoft.WindowsTerminal` on builds that
support it and drops a `settings.json` into
support it and drops `settings.json` into
`%LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\`
on a fresh install only (fresh = terminal never launched).
on a fresh install only. The daily theme module keeps the same scheme on an
existing installation without replacing your profile list.

What it sets:
- default profile: Windows PowerShell 5.1. pwsh and cmd sit next in the list
- graphite amber, JetBrainsMono Nerd Font 10, 10k scrollback, comfy padding
- stock color scheme, nothing fancy

if the terminal already ran once, our file loses (fresh-only rule). edit by
hand, or re-run with `-ConfigsOnly` to overwrite it.
- default profile: Windows PowerShell 5.1. Command Prompt is the other profile.
The stale PowerShell 7 entry is gone.
- one Graphite Amber scheme, JetBrains Mono Nerd Font Mono 11, 10k scrollback,
padding 8, start in `%USERPROFILE%`.
- no acrylic, no transparency, no custom actions.

If the terminal already ran once, the IoT file loses under the fresh-only rule.
Edit by hand, or re-run with `-ConfigsOnly` to overwrite it.
7 changes: 1 addition & 6 deletions WindowsTerminal/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"face": "JetBrainsMono Nerd Font Mono",
"size": 11
},
"startingDirectory": "%USERPROFILE%",
"historySize": 10000,
"padding": "8",
"colorScheme": "Graphite Amber",
Expand All @@ -22,12 +23,6 @@
"commandline": "powershell.exe",
"hidden": false
},
{
"guid": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
"name": "PowerShell 7",
"commandline": "pwsh.exe",
"hidden": false
},
{
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"name": "Command Prompt",
Expand Down
Loading
Loading