diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-04-28 19:25:02 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-04-28 19:37:09 +0200 |
commit | d46e411b4475ffd5cc6871b5e5dc70150d930164 (patch) | |
tree | da318ac5a5e81ecf3ad991af24c3884000e3f8f7 /core/io/file_access_zip.cpp | |
parent | abf5132a32bec9d80ce711b22476170fd18edfdc (diff) |
Warn when trying to open `res://` or `user://` with `OS.shell_open()`
`OS.shell_open()` will pass on the path directly to the OS' shell
handler (which can handle file paths or URLs). It can't handle
Godot-specific paths, so these need to be converted with
`ProjectSettings.globalize_path()` first.
Diffstat (limited to 'core/io/file_access_zip.cpp')
0 files changed, 0 insertions, 0 deletions