godot-build-options-generator / godot-build-options-generator.github.io

Generate SCons options to compile custom export templates with size optimizations
https://godot-build-options-generator.github.io/
MIT License
32 stars 7 forks source link

add extra_suffix, BUILD_NAME, and custom_modules folders. #12

Closed greenfox1505 closed 1 year ago

greenfox1505 commented 1 year ago

In my repo, I use these in my profile.py:

extra_suffix = "green_godot"
custom_modules = "../modules"
os.environ["BUILD_NAME"] = extra_suffix

A couple of fields for features like this would be nice.

Calinou commented 1 year ago

The current UI only offers boolean toggles via checkboxes, so adding text fields will be nontrivial.

Also, BUILD_NAME should probably exist as a SCons option, as overriding it using an environment variable in custom.py feels awkward.

greenfox1505 commented 1 year ago

Yeah, BUILD_NAME should probably be flag.

Even just like a sample of how some that syntax works might be good for noobs.

I added text fields though. Didn't take too long. https://github.com/godot-build-options-generator/godot-build-options-generator.github.io/pull/13 (never heard of alpine.js, but it's pretty nifty)

Calinou commented 1 year ago