Added messages and errors to plugin.gd

This commit is contained in:
JeremyStar™ 2024-05-10 14:44:35 +02:00
parent d830ea5780
commit 5c5b35f0d1
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -1,6 +1,10 @@
@tool
extends EditorPlugin
func _enter_tree(): pass
func _enter_tree():
if !FileAccess.file_exists("res://CORE/.corebasepath") and !FileAccess.file_exists("res://addons/CORE/.corebasepath"):
printerr("The CORE Framework is not installed in your project.\nPlease install the CORE Framework for StarOpenSource UI to work.\nSee https://core.staropensource.de/category/getting-started/")
func _exit_tree(): pass
func _exit_tree():
print("Thank you for using StarOpenSource UI")