-
Notifications
You must be signed in to change notification settings - Fork 6
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
Question regarding the Docs and Enigma VB #1
Comments
I think I answered my own question. I stop getting these weird errors when moving "MyApp.exe" out of the "MyAppBundled" directory before packing with Enigma. One problem remains, when moving the resulting single executable around it stops working, which might be due to absolute paths being used.. |
Hi @bendulum, glad you find it useful :)
Yes, you need to make sure that the Another thing to consider is that you don't need an asar when using EVB. So instead of holding your app specific code in
That's odd. I just tried to create a packed Electron app myself and it works fine when moved. What happens when you try to run it? If you don't see an exception, try to run it from cmd and maybe it will print something to the console. |
@etiktin Thank you for the quick reply and your feedback! I have "asar" packing already disabled in my electron-packager config, so that should be fine. As soon as I have time I will try again with moving the |
It works as you described, thanks. Also, moving the final executable around does not break it anymore. |
@bendulum, I released a new version of generate-evb, with support for a filter function. So |
Awesome, I will try this as soon as I get the chance! |
@bendulum is this still working for you ? I cannot get EVB to work with electron 0.35.0
|
@matthiasg it works for me with Electron v0.35.1. I packed Electron's folder, and when I execute, it opens the default app as usual.
|
i left the inputExe out (i dragged it in manually leaving the exe out), i will check whether an asar file was created. i dont have an app loaded yet (its just an index.html plus mini-main to open it) and it doesnt want to write anywhere, but good to know. |
First off, thanks for creating this package. I have a question regarding its usage.
I use electron and electron-packager to bundle my app.
The output directory contains a couple of dll files, locales and resources folders, .. and MyApp.exe which I can start the app with, which works fine.
I have managed to create an installer from this directory using Inno Setup. Everything works fine this way as well.
However, I'm trying to create a single portable executable now from that directory using Enigma Virtual Box. For that I'm using the enigmavirtualbox package and your generate-evb package. Unfortunately I get an error message when trying to open the final .exe:
Cannot find function ordinal 345 in library COMCTL32.dll
My questions is regarding the docs: inputExe (String) - the input executable file path. Enigma packs the files from path2pack into a copy of this exe
Does this mean that my
path2pack
directory must not contain theinputExe
itself, which it does in my case? Is Enigma trying to copy my exe file into itself? How would I circumvent this?This is probably not a problem with this package, but I thought you might have an idea! Thanks.
The text was updated successfully, but these errors were encountered: