Replies: 2 comments 3 replies
-
The file packager should generate code that looks like this:
This means that if you specific a |
Beta Was this translation helpful? Give feedback.
1 reply
-
I found the next solution but I don't like it at all. Invoke this inside my init.js file
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Could anyone explain how to set custom path inside of generated .js file to generated .data file?
There are variables generated by Emscripten itself in output .js file.
var PACKAGE_NAME = '2x.data';
var REMOTE_PACKAGE_BASE = '2x.data';
In my case this file is called 2x.js
is it possible to set in cmake or elsewhere custom name or path to .data file?
I want to make it like this:
var PACKAGE_NAME = '/static/game/2x.data';
var REMOTE_PACKAGE_BASE = '/static/game/2x.data';
Beta Was this translation helpful? Give feedback.
All reactions