Hello!

So I installed an addon and saw that it made a license, readme and so on on the main folder. At the moment I didn’t had those files there since I’m still very early on the game but shouldn’t this files be inside the addon folder instead of the whole project?

The addon is as simple as check for the TODO on the comments but I want to do this properly. Where should I move this files of the addon? Or my License would substitute the one there if it’s stronger?

Thanks!

  • jlothamer@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    7 hours ago

    I see this kind of poor add-on “hygiene” alot, but I thought Godot flagged when this happened in the install dialog and you can uncheck anything that’s outside of the addon folder. I’m pretty sure that now the damage is done you can just delete any non-code or non-resource files it added. Maybe do a commit before doing so, but it should be OK. If the addon has a license file (which is recommened in the Godot docs), it should only ever be in the addon folder itself and only pertains to the addon.

    • 4Robato@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      5 hours ago

      Aah I see! I’ll double check next time the dialogue options it might be possible that it just passed me though I think the default should be reversed if that’s the case!

      And I was wondering about the addon if it might change my project License. Thanks for the clarification! :)

  • einlander@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    I find the way godot handles files in a plugin a bit poor. If the license file is outside the add-ons folder of the add-on, then it will add it in the main path of your project. I understand it’s a GitHub thing, but adding multiple add-ons and having file collisions is not fun.

  • tabular@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    Do you indend to share the code and files for your game? If not then put it where you like. If you plan to share the code then I’d be tempted to keep the license for that code in a folder with it, and move that readme to it.

    • 4Robato@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 day ago

      Yeah I was thinking to open source it and I saw the repo said the MIT license but that was because of the pluggin.

      Thanks for answer! I’ll move it to the folder and that’s it then :)