Automated Windows 10/11 deployment for X9.cz MSP clients
Find a file
X9 Dev 5e01826a49
All checks were successful
release / build-and-release (push) Successful in 24s
feat: state machine for reboot-resume across Windows Update cycles
xetup.exe now acts as an orchestrator across system reboots:
- PS scripts exit 9 to signal "reboot needed, re-run me" (WU) or
  "done but reboot needed to finalize" (Dell BIOS)
- On exit 9: xetup saves state.json, ensures adminx9 account,
  copies itself to stable path, enables autologon, registers
  X9-Resume scheduled task (AtLogOn adminx9, RunLevel Highest)
- On resume: loads pending steps from state, continues seamlessly
  with "Pokracuji po restartu..." label in the run window
- On completion: disables autologon, removes X9-Resume task,
  deletes state file, shows summary with accumulated results
  across all reboot rounds

New packages: internal/state, internal/prereboot
Script 12: simplified to exit 0 (done) or exit 9 (reboot needed)
Script 11: exit 9 when DCU exit code 1 (BIOS staged, reboot needed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 17:09:53 +02:00
.claude PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
.forgejo/workflows Replace Fyne GUI with Walk (Win32 native, no OpenGL) 2026-04-16 14:49:41 +02:00
assets fix: black BackInfo bg + wrong taskbar accent color 2026-04-16 15:58:53 +02:00
cmd/xetup feat: state machine for reboot-resume across Windows Update cycles 2026-04-16 17:09:53 +02:00
config PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
docs PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
internal feat: state machine for reboot-resume across Windows Update cycles 2026-04-16 17:09:53 +02:00
scripts feat: state machine for reboot-resume across Windows Update cycles 2026-04-16 17:09:53 +02:00
tests PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
tools PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
web docs: add antivirus/curl note under download link 2026-04-16 16:02:04 +02:00
.gitignore PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
CLAUDE.md PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
config-editor.hta PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
Deploy-Windows.ps1 PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
docker-compose.yml PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
embed.go PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
go.mod Replace Fyne GUI with Walk (Win32 native, no OpenGL) 2026-04-16 14:49:41 +02:00
go.sum Replace Fyne GUI with Walk (Win32 native, no OpenGL) 2026-04-16 14:49:41 +02:00
heal.sh feat: auto-deploy web on git pull + deploy SHA in spec footer 2026-04-16 15:52:41 +02:00
Remove-ClaudeCode.ps1 PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
review.html PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
Run.cmd PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
runner-config.yml PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
Setup-ClaudeCode.ps1 PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
setup.ps1 PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
setup.sh PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
SPEC.md PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00
xetup.exe PS scripts, web platform, Forgejo CI, xetup.exe launcher 2026-04-16 14:49:41 +02:00