ashtonmeuser / godot-wasm

Interact with WebAssembly modules from Godot
https://github.com/ashtonmeuser/godot-wasm/wiki
MIT License
197 stars 12 forks source link

Add option download_wasmer #5

Closed Trey2k closed 1 year ago

Trey2k commented 1 year ago

As discussed some in #3 it would be nice to have an automated way of acquiring wasmer. This PR adds a scons option download_wasmer which defaults to false. When true it will download wasmer for the platform passed to scons. If the wasmer folder already exists, it will skip.

ashtonmeuser commented 1 year ago

Hey thanks for your PR @Trey2k! I didn't see this until now but was working on something similar in f8a84cfb9ae02ac86dc670e3921d20c729e96a00 after your suggestions here. The only additional consideration to your PR was universalizing the macOS libraries to support Intel and Apple Silicon. Only hiccup seems to be Windows build (of course) using static libs.

Edit: I'm gonna go ahead and close this.