Open seacloud9 opened 12 months ago
Hey @seacloud9 !
This is annoying on my side because I don't reproduce on my macOS. Are you using an arm64 build or a x64 one ?
The problem here is that editorExports.editor = (window as any).editor;
is mandatory for JS scripts executable in assets and require('../renderer/module.js');
as well to run projects inside the editor :(
Hello @julien-moreau,
I agree. I noticed that the code was much cleaner with those changes in, but I had to rewind the commits to find where MacOS stopped working. I will spend some time today to see if I can not investigate a better fix rather than a revert.
I am using M1/arm64. This is an excellent project! Thanks for sharing.
Issue this update resolves here
After the result, it look like this:
https://github.com/BabylonJS/Editor/assets/640305/c5d0800e-96be-4019-98bd-e73436371c10