-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work in release mode #10
Comments
Are you sure. Its working for me. You need to run it from the root folder and also have the latest code.
|
why do you need to run if from the root folder in release mode, shouldn't the files be embedded which results in the fact that it doesn't matter where you run the binary from ? I just ran your latest version and it works with log output:
|
Hmmm.. You're right mate. I thought it loads the files at compile time into a hash in the binary. Need to find out why this is not happening. |
Well it seems rust macro's don't allow executing code at compile time. Thought there could be a hack for this. I guess then I need to use custom_derive to get this working. Will need to think about the new implementation with breaking api changes. |
Okay good luck, I’ll keep an eye on this project |
@fretn Thanks for reporting this issue. Totally overlooked the asset bundling part in release mode. Fixed now and re-implemented in the version 1.1.0 please test it out. |
it works now, thanks for the quick response |
When I run the sample application from the readme in release mode it doesn't work. when I put the folder example/public/ next to the release binary, it works
The text was updated successfully, but these errors were encountered: