Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
872fe39bd9 |
2 changed files with 5 additions and 6 deletions
|
@ -14,7 +14,7 @@ config/name="CORE Framework"
|
||||||
run/main_scene="res://Test.tscn"
|
run/main_scene="res://Test.tscn"
|
||||||
config/use_custom_user_dir=true
|
config/use_custom_user_dir=true
|
||||||
config/custom_user_dir_name="StarOpenSource/COREDev"
|
config/custom_user_dir_name="StarOpenSource/COREDev"
|
||||||
config/features=PackedStringArray("4.2", "GL Compatibility")
|
config/features=PackedStringArray("4.3", "GL Compatibility")
|
||||||
boot_splash/bg_color=Color(0, 0, 0, 1)
|
boot_splash/bg_color=Color(0, 0, 0, 1)
|
||||||
boot_splash/show_image=false
|
boot_splash/show_image=false
|
||||||
|
|
||||||
|
|
|
@ -446,14 +446,13 @@ func check_godot_version() -> bool:
|
||||||
printerr("The CORE Framework does not support Godot versions older or newer than 4.x.x.")
|
printerr("The CORE Framework does not support Godot versions older or newer than 4.x.x.")
|
||||||
return false
|
return false
|
||||||
match(version["minor"]):
|
match(version["minor"]):
|
||||||
0: printerr("The CORE Framework does not support Godot versions older than 4.2.x. Please update to Godot 4.2.x to ensure full compatibility.")
|
0, 1, 2: printerr("The CORE Framework does not fully support Godot versions older than 4.3.x. Please update to Godot 4.3.x to ensure full compatibility.")
|
||||||
1: printerr("The CORE Framework does not support Godot versions older than 4.2.x. Please update to Godot 4.2.x to ensure full compatibility.")
|
3: pass
|
||||||
2: pass
|
|
||||||
_:
|
_:
|
||||||
printerr("The CORE Framework does not support Godot versions newer than 4.2.x. Please downgrade to Godot 4.2.x.")
|
printerr("The CORE Framework does not support Godot versions newer than 4.3.x. Please downgrade to Godot 4.3.x.")
|
||||||
return false
|
return false
|
||||||
if version["status"] != "stable":
|
if version["status"] != "stable":
|
||||||
printerr("The CORE Framework does not support unstable Godot versions. Please switch to Godot 4.2.x.stable to ensure full compatibility.")
|
printerr("The CORE Framework does not support unstable Godot versions. Please switch to Godot 4.3.x.stable to ensure full compatibility.")
|
||||||
return false
|
return false
|
||||||
return true
|
return true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue