mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-06-01 19:19:31 +02:00
Introduce Shell class with a cd
method and a run
method
game.exec is now the only point in the code that calls OS.execute. shell.run is the only point that refers to /bin/sh.
This commit is contained in:
parent
5a291685fa
commit
579f18736a
6 changed files with 93 additions and 102 deletions
|
@ -8,9 +8,14 @@
|
|||
|
||||
config_version=4
|
||||
|
||||
_global_script_classes=[ ]
|
||||
_global_script_classes=[ {
|
||||
"base": "Node",
|
||||
"class": "Shell",
|
||||
"language": "GDScript",
|
||||
"path": "res://shell.gd"
|
||||
} ]
|
||||
_global_script_class_icons={
|
||||
|
||||
"Shell": ""
|
||||
}
|
||||
|
||||
[application]
|
||||
|
@ -60,3 +65,10 @@ click={
|
|||
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[network]
|
||||
|
||||
limits/debugger_stdout/max_chars_per_second=100000
|
||||
limits/debugger_stdout/max_messages_per_frame=1000
|
||||
limits/debugger_stdout/max_errors_per_second=1000
|
||||
limits/debugger_stdout/max_warnings_per_second=1000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue