fix: ensure macOS mpv window helper is built and bundled correctly

- create dist/scripts dir before swiftc output in prepare-build-assets
- add after-pack verification that helper binary exists and is executable
- remove stale Windows PS1 extra-resource entry (harmless missing-file warnings)
- add tests for new verifyMacOSWindowHelper and prepare-build-assets behavior
This commit is contained in:
2026-05-27 11:40:55 -07:00
parent 29cb8c7fb4
commit bb6bb04c49
7 changed files with 145 additions and 5 deletions
+2
View File
@@ -63,6 +63,8 @@ function buildMacosHelper() {
return;
}
ensureDir(scriptsOutputDir);
try {
execFileSync('swiftc', ['-O', macosHelperSourcePath, '-o', macosHelperBinaryPath], {
stdio: 'inherit',