Open golddotasksquestions opened 4 years ago
I don't think the way the documentation tell us how to use the API is wrong and it's actually what we need to do in order to make it work.
With a simple example you can see that you need to use ProjectSettings.globalize_path in order to open a picture file
func _ready():
OS.shell_open(ProjectSettings.globalize_path("res://icon.svg"))
OS.shell_open("res://icon.svg")
the first line work fine for me and open the picture in my defaut app but the second one doesn't work
Your Godot version: 3.2.3
Issue description: I don't get what is supposed to mean:
Both print the exact same path on both Windows and Android:
Same is true here:
URL to the documentation page: https://docs.godotengine.org/en/stable/classes/class_os.html#class-os-method-shell-open