2024-05-15 00:28:31 +02:00
# STAROPENSOURCE UI SOURCE FILE
# Copyright (c) 2024 The StarOpenSource Project & Contributors
# Licensed under the GNU Affero General Public License v3
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
2024-05-10 14:39:53 +02:00
@ tool
extends EditorPlugin
2024-05-10 14:44:35 +02:00
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. \n Please install the CORE Framework for StarOpenSource UI to work. \n See https://core.staropensource.de/category/getting-started/ " )
2024-05-10 14:39:53 +02:00
2024-05-10 14:44:35 +02:00
func _exit_tree ( ) :
print ( " Thank you for using StarOpenSource UI " )