imjp94 / gd-plug

Minimal plugin manager for Godot
MIT License
215 stars 15 forks source link

Support for headless/server builds #1

Closed lihop closed 3 years ago

lihop commented 3 years ago

Firstly, thank you for making and sharing this awesome plugin. I expect to be using it a lot!

Secondly, would you consider adding support for Godot headless and server builds?

This is especially useful for the running the plugin in headless CI/CD environments such as GitHub actions.

It should be as easy as adding "Server" alongside "X11" and "OSX" as headless/server builds are currently only supported on Linux and macOS.

I tested this change using a basic plugin.gd file with server/headless builds locally on my Linux laptop and on GitHub actions using this Godot headless Docker image (results here) , and everything seems to be working fine.

imjp94 commented 3 years ago

Thanks, glad that it helps!

My bad, I thought "X11" includes all Linux machine.

Will merge this PR when I get to my desktop.

Thanks for the contribution!