build(desktop): stage get-windows like node-pty
get-windows@9.3.0 (MIT, zero runtime deps on macOS/Linux) is external to the esbuild bundle and staged into dist/node_modules per target platform: the universal Swift helper on macOS, the prebuilt N-API binding on Windows (fail-closed magic-byte validation), nothing on Linux (xprop at runtime). The staged lib/windows.js is rewritten to load the binding directly so @mapbox/node-pre-gyp's tree stays out of the package.
This commit is contained in:
committed by
brooklyn!
parent
f22ae72921
commit
f463a7e8ee
Generated
+1675
-31
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user