Skip to content

Add custom install script for VS Code FMA - #42733

Draft
tux234 wants to merge 2 commits into
mainfrom
tux234-vscode-custom-install
Draft

Add custom install script for VS Code FMA#42733
tux234 wants to merge 2 commits into
mainfrom
tux234-vscode-custom-install

Conversation

@tux234

@tux234 tux234 commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a custom install script for VS Code that checks for visible windows before marking the app for quit/relaunch
  • VS Code's persistent background helpers (Code Helper, Renderer, GPU, Plugin) cause the generic template to detect the app as "running" even when closed, resulting in unwanted auto-launch after update

Changes

  • New: ee/maintained-apps/inputs/homebrew/scripts/visual-studio-code-install.sh
  • Modified: ee/maintained-apps/inputs/homebrew/visual-studio-code.json (added install_script_path)
  • Regenerated: ee/maintained-apps/outputs/visual-studio-code/darwin.json

Follows the same custom script pattern as Chrome, Slack, and Zoom. No changes to the shared install template.

Related #42732

Test plan

  • FMA validation CI passes (test-fma-pr-only)
  • Install VS Code via Self Service on a host with background helpers running — verify no auto-launch
  • Install VS Code via Self Service on a host with VS Code actively open — verify it quits and relaunches

tux234 added 2 commits March 31, 2026 11:58
VS Code's persistent background helper processes (Code Helper,
Renderer, GPU, Plugin) cause the generic install template to detect
the app as "running" even when no windows are open, resulting in an
unwanted auto-launch after update.

Add a custom install script (like Chrome, Slack, Zoom) that uses
System Events to verify visible windows before marking the app for
quit/relaunch.

Related #42732
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.

VS Code FMA: app auto-launches after Self Service update even when not open

1 participant