Skip to content

Remove windows .bat and .ps1 launchers - #27359

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:remove_bat_files
Oct 13, 2026
Merged

sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:remove_bat_files

Conversation

@sbc100

@sbc100 sbc100 commented Jul 15, 2026 •

Copy link
Copy Markdown
Collaborator

We have been using the .exe launchers (see #27017) for a few releases
now with no issues.

See: #24858

@sbc100
sbc100 marked this pull request as draft July 15, 2026 15:41
@sbc100
sbc100 force-pushed the remove_bat_files branch 2 times, most recently from ac8d7b2 to a1febca Compare September 3, 2026 19:20
@sbc100
sbc100 marked this pull request as ready for review September 3, 2026 23:40
@sbc100

sbc100 commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator Author

@juj, I will wait for you to confirm that the new binary launcher is working for you before I land this.

@sbc100
sbc100 requested review from dschuff, juj and kripken September 23, 2026 21:52
@juj

juj commented Oct 13, 2026

Copy link
Copy Markdown
Collaborator

Yeah, let's go ahead. I haven't had a chance to test this extensively, but happy to validate this afterwards.

The only concern I had was the antivirus detection, but at Unity we are setting up a code signing deployment, so those executables will be shipped as signed, so that should avoid issues there.

@juj juj left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a bunch of breaking changes in terms of having to rename 'emcc.bat' -> 'emcc.exe' and so on in any build system code that drives Emscripten (on Windows, just invoking 'emcc' requires shell expansion to autocomplete the suffix, so typically avoided where possible)

But I don't think these types of changes come often, so it'll be a one time breakage to address.

@sbc100
sbc100 enabled auto-merge (squash) October 13, 2026 22:09
We have been using the `.exe` launchers (see emscripten-core#27017) for a few releases
now with no issues.

See: emscripten-core#24858
@sbc100 sbc100 changed the title Remove windows .bat and .ps1 launchers Remove windows .bat and .ps1 launchers Oct 13, 2026
@sbc100
sbc100 merged commit 59d7b45 into emscripten-core:main Oct 13, 2026
41 checks passed
@sbc100
sbc100 deleted the remove_bat_files branch October 13, 2026 23:17
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.

3 participants