Skip to content

Conversation

Teashrock
Copy link
Contributor

Closes #9. Also changed docs link to 3.2 on added statement about MinGW building.

@Teashrock Teashrock changed the title Changed gen-files encoding to UTF-8 and updated README.md Changed gen-files' encoding to UTF-8 and updated README.md Mar 4, 2020

if env['tools']:
with open("tools/godot.d.ts.gen.cpp", "w") as f:
with open("tools/godot.d.ts.gen.cpp", "w", encoding="utf-8") as f:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Python2 does not support this kind of syntax. Which is the default python version on macOS.

Copy link

Choose a reason for hiding this comment

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

Godot 3.2 is now only compileable with Python 3.5+
http://docs.godotengine.org/en/3.2/development/compiling/compiling_for_osx.html

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not only on Mac OS X, other systems too. So, now there is no need to remake that for Python 2.

* Clone the source code of [godot](https://github.com/godotengine/godot)
* Clone this module and put it into `godot/modules/` and make sure the folder name of this module is `ECMAScript`
* [Recompile godot engine](https://docs.godotengine.org/en/3.0/development/compiling/index.html)
* [Recompile godot engine](https://docs.godotengine.org/en/3.2/development/compiling/index.html) <b>(Only MinGW is supported on Windows for now!)</b>
Copy link
Collaborator

Choose a reason for hiding this comment

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

using **Bold content** in markdown instead of <b></b>

@Geequlim Geequlim merged commit 7e6d77e into godotjs:master Apr 10, 2020
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.

Won't build on Windows 10 x64
3 participants