mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 13:11:13 +00:00
OS additions and fixes for WebAssembly/asm.js
- Implement alert, shell_open, set_window_title - Add locale lookup, fixes #2477 - Print without color control sequences - Move get_executable_path implementation to OS_JavaScript
This commit is contained in:
parent
a3582fa3cb
commit
6d86a63648
4 changed files with 49 additions and 57 deletions
|
|
@ -522,9 +522,6 @@ String OS_Unix::get_executable_path() const {
|
|||
delete[] resolved_path;
|
||||
|
||||
return path;
|
||||
#elif defined(EMSCRIPTEN)
|
||||
// We return nothing
|
||||
return String();
|
||||
#else
|
||||
ERR_PRINT("Warning, don't know how to obtain executable path on this OS! Please override this function properly.");
|
||||
return OS::get_executable_path();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue