Skip to content

Ship terminal-init.js + transparent HTML in MSI; guard Assets drift in CI#21

Merged
AThraen merged 1 commit into
mainfrom
fix/wix-missing-terminal-assets
May 11, 2026
Merged

Ship terminal-init.js + transparent HTML in MSI; guard Assets drift in CI#21
AThraen merged 1 commit into
mainfrom
fix/wix-missing-terminal-assets

Conversation

@AThraen
Copy link
Copy Markdown
Contributor

@AThraen AThraen commented May 11, 2026

Summary

  • The v0.4.1 MSI shipped a broken WebView host: terminal.html <script src=\"terminal-init.js\"> since 75280b1, plus transparent sessions load terminal-transparent.html, but neither file was in the WiX manifest. Installed users got a blank terminal pane; portable ZIP users were unaffected.
  • Added both files to installer/CodeShellManager.wxs.
  • Added a CI step that diffs the contents of src/CodeShellManager/Assets/ against the <File Source=\"\$(var.PublishDir)\Assets\...\"> refs in the WiX manifest and fails the build if they drift.

Test plan

  • CI passes on this PR (proves the new guard step works against the now-correct WiX).
  • After merge + v0.4.2 tag: install the MSI on a clean Windows box, confirm terminals render and accept input.
  • As a negative test, drop a junk file into Assets/ on a throwaway branch and confirm the new CI step fails the build.

🤖 Generated with Claude Code

… drift

The MSI shipped only terminal.html / xterm.js / xterm.css / xterm-addon-fit.js
even though terminal.html has loaded terminal-init.js since commit 75280b1 and
transparent sessions load terminal-transparent.html. Installed users therefore
got a blank terminal pane — portable ZIP users were unaffected because the ZIP
mirrors the whole publish output.

- WiX now lists terminal-init.js and terminal-transparent.html as components.
- A new CI step diffs src/CodeShellManager/Assets/ against the <File Source>
  refs in the WiX manifest and fails the build if they drift, so adding a new
  Asset file without updating WiX can't slip through again.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@AThraen AThraen merged commit e158947 into main May 11, 2026
1 check passed
@AThraen AThraen deleted the fix/wix-missing-terminal-assets branch May 11, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant