WIP checkpoint: Research and design GDScript sandboxing approach
This commit is contained in:
@@ -68,8 +68,6 @@ func probe_engine_apis():
|
||||
print("Node.new() = ", node)
|
||||
# Can we access ProjectSettings?
|
||||
print("ProjectSettings.get_setting('application/config/name') = ", ProjectSettings.get_setting("application/config/name"))
|
||||
# Can we access the OS shell / clipboard?
|
||||
print("OS.get_clipboard() = ", OS.get_clipboard())
|
||||
# Can we access the filesystem directory listing?
|
||||
var dir = DirAccess.open("/")
|
||||
print("DirAccess.open('/') = ", dir)
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
; Engine configuration file.
|
||||
config_version=5
|
||||
|
||||
[ext_resource path="res://probe.gd" type="Script" id=1]
|
||||
[application]
|
||||
|
||||
[node name="probe" type="SceneTree"]
|
||||
config/name="sandbox_probe"
|
||||
run/main_scene=""
|
||||
config/features=PackedStringArray("4.6")
|
||||
|
||||
Reference in New Issue
Block a user