fix(windows): install a self-contained runtime - #58
Conversation
105ba96 to
44cff85
Compare
|
Maintainer update: rebased the original contributor commit onto current I also made cleanup of an obsolete engine backup non-fatal after a new engine has already been committed, including a forced-cleanup regression under |
Fei-Away
left a comment
There was a problem hiding this comment.
Validated on current main. The managed engine is staged inside the state root, rejects reparse points, verifies file count and SHA-256 before publication, rolls back a failed replacement, and keeps post-commit cleanup failures non-fatal. Shortcuts and working directories all bind to the managed copy, and the source-deletion regression proves the installed entry points remain usable. Static checks, Windows PowerShell 5.1, and PowerShell 7 are green.
|
Final validation passed on the rebased head: Static checks ✅, Windows PowerShell 5.1 ✅, PowerShell 7 ✅. The original contributor author is preserved. Thank you @rwang23—this closes the most important remaining Windows installation gap. |
中文
摘要
assets/和scripts/复制到%LOCALAPPDATA%\CodexDreamSkin\engine。Closes #56
类型
平台
自测
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\windows\tests\run-tests.ps1 -EngineOnlywindows/下全部 PowerShell 文件,无语法错误。node --check windows/scripts/injector.mjsnode --check windows/scripts/image-metadata.mjsnode --check windows/assets/renderer-inject.jsgit diff --checkwindows/CHANGELOG.md。安全
补充
10.0.26200.0x64,Windows PowerShell5.1.26100.8875,OpenAI.Codex Appx26.707.12708.0x64。main。原有配置、Store 启动、原生命令和 PowerShell 5.1 回归均保留,完整套件现在由 GitHub Actions 在 Windows PowerShell 5.1 与 PowerShell 7 上验证。config.toml处理、CDP、Appx 识别、CSS 或 renderer 注入。English
Summary
assets/andscripts/into%LOCALAPPDATA%\CodexDreamSkin\engineduring installation.Closes #56
Type
Platform
Self-check
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\windows\tests\run-tests.ps1 -EngineOnlywindows/with no syntax errors.node --check windows/scripts/injector.mjsnode --check windows/scripts/image-metadata.mjsnode --check windows/assets/renderer-inject.jsgit diff --checkwindows/CHANGELOG.md.Security
Notes
10.0.26200.0x64, Windows PowerShell5.1.26100.8875, OpenAI.Codex Appx26.707.12708.0x64.main, including fix(windows): preserve config and activate the Store package #24, fix(windows): prevent NativeCommandError on redirected stderr in PS 5.1 #29, ci: add static and Windows regression checks #52, and fix(windows): support atomic replace in PowerShell 5.1 #71. Existing config, Store activation, native-command, and PowerShell 5.1 regressions remain intact, and GitHub Actions now validates the complete suite on Windows PowerShell 5.1 and PowerShell 7.config.tomlhandling, CDP behavior, Appx discovery, CSS, and renderer injection unchanged.