-
Notifications
You must be signed in to change notification settings - Fork 52
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
Windows: Packaged .exe does not Render #16
Comments
No problem @msolters, thanks for reporting. I'll take a look at it later. |
I am also having the same issue. |
Hello, I've confirmed the problem, looking for the cause tough. |
Closing, fixed in In case the problem persists, please reopen. |
Errors are gone. Now it is working. Thanks Arboleya. |
Good questions, lets see one by one in detail. Let me know if it's clear. How can I install this on some other computer?You should have in mind that the final app is an Electron App. It will be a You can then build installers, like https://github.com/LinusU/node-appdmg Where the Mongodb will be installed?MongoDB isn't installed, instead it's distributed in a standalone way, Electrify The binaries of However after packaging the app, everything inside OSX: So you'll find the binaries inside The actual How can I see database collections?Having the packaged app up'n'running means that MongoDB is up and accessible, Electrify assures MongoDB will use a currently free/unused port on the user's To get this port, you can simply run the app from the Terminal and see its Osx terminal: # just type the full path to the ELECTRON binary and press ENTER
.electrify/.dist/your-app-name/your-appname.app/Contents/MacOS/Electron Windows CMD/Powershell etc: # just type the full path to the .EXE file binary and press ENTER
.electrify/.dist/your-app-name/your-appname.exe Watch out the logs, and you'll get the current MongoDB port. Mongo's output
With this, you can use tools such as RoboMongo to How can I update app without resetting mongodb database?This leads to two differente cases: 1. Shipping new versions to usersRight now there's no way to preserve the database upon newer installs. Surely it's not ideal and preserving database between app updates makes total 2. Packaging app multiple timesIt's important to know that your Meteor's mongo database is not copied to your So you have to build a kind of if(!Posts.find().count()) {
Posts.create({/* ... */});
} But then if you package your app again, the |
Thanks for the prompt reply. But I have a one more question that if it is not possible to update the app without resetting mongon database then is it possible to take backup of db and after updating app (installing new version) restore it again? If yes the how? |
Yes, potentially. Just backup/restore the OSX: |
Yes, I too can confirm that the Windows builds are now functioning properly. |
tks 👍 |
@arboleya i have the same problem that the final .exe doesn't actually render anything. thank you to help me to resolve this problem |
Thanks again for all your help in cleaning up the packaging process. The new version with
Electrify.app.package()
is far more stable.But the problem is, while the build and packaging process now works for me on Windows (10), the final .exe doesn't actually render anything. Although the packaging process throws no errors, the .exe doesn't render any application!
meteor
inside my app, then Electron successfully starts up along with the Meteor server.Electrify.app.package()
, it successfully creates an executable inside/.dist
./.dist
, I see inside the task manager that two Electron (32 bit) processes are spawned. For the leaderboard example, they take up 2.9MB and 13.7MB respectively. But, no window is ever created. No Electron app ever becomes visible. No icon appears in the task bar. Just those two processes, which must be killed using "End task."The text was updated successfully, but these errors were encountered: