mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-26 15:55:38 +00:00
14 lines
309 B
GDScript
Executable file
14 lines
309 B
GDScript
Executable file
extends Button
|
|
|
|
func _ready():
|
|
self.pressed.connect(self._button_pressed)
|
|
|
|
func _button_pressed():
|
|
var output := [] #[] is shared, Array isn't (maybe fixed in 4.1)
|
|
var exit_code := OS.execute("touch", ["godot_configurator_hardcoded"], output)
|
|
print("exit code: ", exit_code)
|
|
print("output: ", output)
|
|
|
|
|
|
|