Commit graph

6 commits

Author SHA1 Message Date
X9 Dev
e0206f7e1e fix(backinfo): background color is COLORREF, revert to 4668194 (#223B47)
All checks were successful
release / build-and-release (push) Successful in 33s
BackInfo reads BackgroundColor as a Windows COLORREF (0x00BBGGRR / BGR), as its
own header documents. The 0.7 value 2243399 (0x223B47) was therefore read with
red/blue swapped and rendered olive-brown (#473B22 / observed ~#554D39). The
correct COLORREF for #223B47 is 71*65536 + 59*256 + 34 = 4668194 (the original
value). Docs updated to match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 14:25:12 +02:00
X9 Dev
4d08d0cd46 fix: reliable accent color in all profiles + BackInfo background
- 04 profile: write AccentPalette (REG_BINARY, 8 shades derived from #223B47)
  alongside AccentColor/AccentColorMenu. Without AccentPalette, Win11 ignores
  the custom accent on Start/taskbar and falls back to the default - the cause
  of "colors not applied everywhere". Also mirror the full theme + accent into
  HKU\.DEFAULT (lock/welcome screen, system context) on top of the Default hive
  and current user, so all profiles match. Mode stays Custom (dark system,
  light apps); ColorPrevalence on for Start/taskbar and title bars/borders.
- BackInfo.ini: BackgroundColor 4668194 -> 2243399. BackInfo reads the value as
  0xRRGGBB (RGB), not COLORREF/BGR, so #223B47 = 0x223B47 = 2243399; the BGR
  value rendered with red/blue swapped.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 10:39:57 +02:00
X9 Dev
5ace2154a8 fix: revert Atera to download approach, remove bundled MSI
All checks were successful
release / build-and-release (push) Successful in 31s
MSI downloads fine via Invoke-WebRequest; MFA is an interactive window
shown by the installer itself during registration - accepted as normal
workflow. Bundled approach removed: assets/Atera/ dropped, no binary
maintenance needed.

Also closes CLAUDE.md open questions #2 (MFA resolved) and #3 (--resume
already removed from prereboot task).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 13:43:12 +02:00
X9 Dev
0d46b0dc4b fix: Atera bundled MSI, remove --resume flag, CI CGo+MinGW
All checks were successful
release / build-and-release (push) Successful in 30s
Atera agent: download URL requires MFA in browser session, so
Invoke-WebRequest gets HTML instead of MSI. Changed to bundled
MSI from assets/Atera/ - download once from dashboard, no network
dependency. Graceful skip with log message when MSI not present.

Removed unused --resume argument from X9-Resume scheduled task
registration. Resume is detected via state file, not CLI flag.

CI pipeline: added mingw-w64-gcc and CGO_ENABLED=1 for Walk
cross-compilation (required since Walk migration from Fyne).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-17 13:31:59 +02:00
X9 Dev
b58441d6b7 fix: black BackInfo bg + wrong taskbar accent color
All checks were successful
release / build-and-release (push) Successful in 22s
BackInfo.ini:
- AutoBackground=0: don't read live desktop color during deployment;
  Windows hasn't propagated the registry background color to the
  live session yet, so AutoBackground reads black
- BackgroundColor=4668194: explicit COLORREF for #223B47
  (was 2097152 = 0x200000 = RGB(0,0,32), near-black)

05-personalization.ps1:
- Add Explorer\Accent\AccentColorMenu = 0xFF473B22
- Add Explorer\Accent\StartColorMenu = 0xFF473B22
  Windows taskbar reads AccentColorMenu for its color when
  ColorPrevalence=1; DWM\AccentColor only controls title bars.
  Without these keys the taskbar shows Windows default blue
  (RGB 130, 232, 253 = Windows 11 "Steel" default accent).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 15:58:53 +02:00
c42943cfa8 PS scripts, web platform, Forgejo CI, xetup.exe launcher
Initial deployment suite for X9.cz MSP Windows 10/11 deployment:
- PowerShell scripts 00-11: admin account, bloatware removal, software (winget+Atera),
  system registry tweaks, default profile, personalization, scheduled tasks,
  BackInfo desktop info, Windows activation, PC identity/rename, network, Dell Update
- Web platform: xetup.x9.cz (nginx), spec/annotation page, /dl shortlink, GitHub mirror
- Forgejo Actions CI: auto-build xetup.exe on push, publish to releases/latest
- Go xetup.exe: embeds all scripts/assets, per-feature checkboxes, load/save config
2026-04-16 14:49:41 +02:00