When I run godot --headless -s plug.gd install, gdplug is attempting to download files outside the addons/ directory of various repos when I am not including the "include" setting, and when I am attempting to manually set it to "addons/". I have changed the default plugged directory to res://addons/gd-plug/.plugged as mentioned in other issues but otherwise my gd-plug setup is pretty basic. Here are some examples of the behavior I am seeing.
# res://plug.gd
func _plugging() -> void:
# attempts to overwrite `res://.git/*`, `res://.gitignore`, `res://icon.svg`, etc.
plug("heygleeson/godot-ldtk-importer")
# attempts to overwrite the same files as above
plug("godot-extended-libraries/godot-antialiased-line2d", {"include": ["addons"]})
# this one correctly installs only files in the path provided
plug("kenyoni-software/godot-addons", {"dev": true, "include": ["addons/icon_explorer"]})
Fortunately it runs in safe mode by default I am just getting spammed with warnings but with --force passed it breaks the project repo since all the git files get replaced.
When I run
godot --headless -s plug.gd install, gdplug is attempting to download files outside theaddons/directory of various repos when I am not including the"include"setting, and when I am attempting to manually set it to"addons/". I have changed the default plugged directory tores://addons/gd-plug/.pluggedas mentioned in other issues but otherwise my gd-plug setup is pretty basic. Here are some examples of the behavior I am seeing.Fortunately it runs in safe mode by default I am just getting spammed with warnings but with --force passed it breaks the project repo since all the git files get replaced.