mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
93c84650cd
This also simplifies some functions. This partially addresses #30.
13 lines
376 B
GDScript
13 lines
376 B
GDScript
tool
|
|
extends WindowDialog
|
|
|
|
|
|
func _ready() -> void:
|
|
if Engine.editor_hint:
|
|
$VBoxContainer/VBoxContainer1/ApplicationName.text = "Material Maker"
|
|
else:
|
|
$VBoxContainer/VBoxContainer1/ApplicationName.text = ProjectSettings.get_setting("application/config/name")+" v"+ProjectSettings.get_setting("application/config/release")
|
|
|
|
func open_url(url) -> void:
|
|
OS.shell_open(url)
|