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

[Bug]: Macro Editor Themes not created on new installs. #4881

Open FullBleed opened 4 weeks ago

FullBleed commented 4 weeks ago

Describe the Bug

On new installs the Macro Editor Theme files are not created in the data directory "theme\syntax" directory. This means you can not select a Macro Editor Theme in Preferences.

To Reproduce

1) Run MT so that it creates a new data directory (you can delete or rename the existing directory or set a new data directory path in the maptool.cfg file.) 2) Then load MT and goto Edit>Preferences>Themes and try to set the Macro Editor Theme. The drop box will be empty and you will not be able to select a theme. 3) Check the new data directory theme/syntax folder and you will see that the themes for the Macro Editor are missing.

These are the files that should be in the directory: https://github.com/RPTools/maptool/tree/develop/src/main/resources/net/rptools/maptool/client/ui/syntax/themes

Expected Behaviour

The theme/syntax folder in the data directory should be populated with selectable themes when MapTool is run the first time (when it creates the data directory.)

Screenshots

No response

MapTool Info

1.15

Desktop

Window 11

Additional Context

Issue appears to have begun in 1.14.