Spy-Shifty / BrokenBricksECS

Rebuild of Unity3D upcoming Entity Component System !OUT OF DEVELOPMENT!
MIT License
162 stars 28 forks source link

Add support for template installation from linux. #22

Closed Gwindalmir closed 6 years ago

Gwindalmir commented 6 years ago

This adds support for automatic template installation in linux, if permissions are set (or run as root). Now it checks for permissions, and will disable the menu items if no permissions. Also the Install/Uninstall menu items will toggle as appropriate based on the existence of the template files in the target location. This unifies the code more, so the platform specific code is more centralized.

Unity default install location on linux is /opt/Unity, so that is used on linux.

I also changed the menu item names, for clarity.

After #10 there was a compile error on linux again, which is why I started this task.

Spy-Shifty commented 6 years ago

Thank you for your help!