mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 00:40:51 +01:00
Attempt unity fix
This commit is contained in:
parent
a8559cfdb1
commit
bfc1d3a843
@ -114,7 +114,7 @@ public class UnityWebModifyer {
|
||||
|
||||
contents = insertFrameworkCode(contents, 0, "js_code/unity_code.js");
|
||||
|
||||
String exportSearch = "Module[\"asm\"]=exports;";
|
||||
String exportSearch = "Module[\"asm\"][\"Fj\"]).apply(null,arguments)};";
|
||||
int exportIndex = contents.indexOf(exportSearch) + exportSearch.length();
|
||||
contents = insertFrameworkCode(contents, exportIndex, "js_code/unity_exports.js");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user