RPTools / maptool

Virtual Tabletop for playing roleplaying games with remote players or face to face.
http://rptools.net
GNU Affero General Public License v3.0
787 stars 259 forks source link

Provide functionality for add-on development #4903

Open cwisniew opened 2 weeks ago

cwisniew commented 2 weeks ago

Identify the Bug or Feature request

fixes #3460

Description of the Change

This change adds the following features to the development tab of the dialog from File -> Add On Libraries.

Possible Drawbacks

This still requires the user to import the add-on from the directory by clicking a button; add-on importing for large libraries is not something that is suitable to be done automatically on every file change. This is especially the case for windows where the file system often reports multiple change events for a single change. But it is one step closer to providing an API that an IDE could use to trigger importing of an add-on.

Documentation Notes

This change adds the following features to the development tab of the dialog from File -> Add On Libraries.

CleanShot 2024-09-12 at 23 18 01@2x

CleanShot 2024-09-12 at 23 26 47@2x

Release Notes


This change is Reviewable

thelsing commented 2 weeks ago

Would it also be possible to autoinstall an Add-on from a github-repo? i.e. download the repo as zip, rename to mtlib and import?

cwisniew commented 2 weeks ago

Would it also be possible to autoinstall an Add-on from a github-repo? i.e. download the repo as zip, rename to mtlib and import?

This is the eventual goal (its why there is a git URL in the add on) but not as part of this change