Ver código fonte

Package runtime data alongside HTML5 examples (#2173)

Co-authored-by: Christophe Dehais <[email protected]>
Christophe Dehais 5 anos atrás
pai
commit
4a0b6dc3ff
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      scripts/genie.lua

+ 2 - 1
scripts/genie.lua

@@ -367,7 +367,8 @@ function exampleProjectDefaults()
 
 
 		linkoptions {
 		linkoptions {
 			"-s TOTAL_MEMORY=32MB",
 			"-s TOTAL_MEMORY=32MB",
-			"-s ALLOW_MEMORY_GROWTH=1"
+			"-s ALLOW_MEMORY_GROWTH=1",
+			"--preload-file ../../../examples/runtime@/"
 		}
 		}
 
 
 		removeflags {
 		removeflags {