diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-03-26 15:22:03 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-03-29 02:53:28 +0200 |
commit | 793a8939c4f721844c276a3d49293c23c902c8d3 (patch) | |
tree | 9d333d26e18e0ad29979170edc031f60866e40cd /game/addons/openvic2-plugin/openvic2-plugin.gd | |
parent | cb5858b80c6dc9918b8366a433ca78a5d4adebed (diff) |
Add automated git release info retrieval on export
Makes debug easier to see and handle
Add commit hash label to MainMenu
Add click-copyable tag, commit hash, and checksum to main menu
Rename VersionChecksumBox to ReleaseInfoBox
Move ReleaseInfoBox to separate scene and script
Add GIT_INFO.gd for generic project running
Add openvic2-plugin addon for handling export plugin
Replaces GIT_INFO.gd on export
Setup build workflow to retrieve commit hash, tag, and release
Diffstat (limited to 'game/addons/openvic2-plugin/openvic2-plugin.gd')
-rw-r--r-- | game/addons/openvic2-plugin/openvic2-plugin.gd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/game/addons/openvic2-plugin/openvic2-plugin.gd b/game/addons/openvic2-plugin/openvic2-plugin.gd new file mode 100644 index 0000000..8cfa4e8 --- /dev/null +++ b/game/addons/openvic2-plugin/openvic2-plugin.gd @@ -0,0 +1,12 @@ +@tool +extends EditorPlugin + +const ReleaseExportEditorPlugin := preload("res://addons/openvic2-plugin/ReleaseExportEditorPlugin.gd") +var release_export_editor_plugin := ReleaseExportEditorPlugin.new() + +func _enter_tree() -> void: + add_export_plugin(release_export_editor_plugin) + + +func _exit_tree() -> void: + remove_export_plugin(release_export_editor_plugin) |