Fix Emscripten asset support, fix Log.verbose on Emscripten builds
This commit is contained in:
@@ -35,7 +35,7 @@ import sys.FileSystem;
|
||||
|
||||
if (rootPath == null) {
|
||||
|
||||
#if (ios || tvos)
|
||||
#if (ios || tvos || emscripten)
|
||||
rootPath = "assets/";
|
||||
#elseif (windows && !cs)
|
||||
rootPath = FileSystem.absolutePath (haxe.io.Path.directory (#if (haxe_ver >= 3.3) Sys.programPath () #else Sys.executablePath () #end)) + "/";
|
||||
|
||||
Reference in New Issue
Block a user