is it possible to make a combined installer for an electron app and a python? - electron

I have an electron application.
my app is using python for her living.
by using electron-packager and then electron-installer-windows
by the tutorial in https://github.com/electron-userland/electron-installer-windows
i made .exe(portable version) and .msi(installation version) files out of it.
the thing is, i want to give my clients 1 file (either msi or exe) that will let them use the application. (will install python and then automatically install my electron msi).
any suggestions?

Related

How to check if electron app is running a portable build?

I build an electron app that will be distributed as both portable and installable version.
I added electron-updater to get the installed version automatically updated. I see that portable version is downloading the update as well, even though it cannot update.
I am looking for a function isPortable() in electron to switch off autoupdater in portable app. For now i found out that I can check process.env.PORTABLE_EXECUTABLE_DIR for directory but I wonder if there is more straightforward option.

Why is ffmpeg bundled with my Electron app?

When I built my Electron app for production, I noticed ffmpeg.dll was included. Why is ffmpeg bundled with Electron?
You may know that electron uses chromium for desktop applications building.Chromium has a fork of FFMPEG that it builds from source to generate the ffmpeg.dll file that goes to Electron builds for Windows.
You can read more about it from this link

Create APPX package and DMG package on windows

I've just finish developing an electron app for editing PDFs. And I want to create :
APPX Package on Windows Store (for Windows).
DMG Package on App Store (for Mac).
I've searched a lot and didn't find yet how to do it.
Could Anyone help me and tell me how to do it please.
Check out the following tutorial to learn how to create an MSIX for an electron application, using Advanced Installer:
MSIX package for electron application
Advanced Installer has lightweight support for MacOS, but it can only create ZIP-based packages for Java-based applications. So you can't use it to build an DMG for your electron app.
Disclaimer: I work on the team building Advanced Installer

Can I update my Electron app with a zip file using Electron Builder?

I'm using Electron Builder for packaging my app and handling auto-updating. Is it possible to have my application auto-update from a zip file in a static directory? It says only NSIS is supported for auto-updating, which I think means that using NSIS or NSIS-web will always require an executable for updating.
My company VPN doesn't allow executable files to be hosted on the network, so i'm just trying to find out if it's possible to update my Electron app using a zip file with Electron Builder (without having to resort to Squirrel)

Convert packaged Atom Electron OSX app to IOS

I have a relatively simple node application:
- built on Electron
- using an SQLite database
- successfully packaged as a OSX application
Are there any tools out there for converting/re-packaging my Electron OSX app to iOS?
Am I correct in understanding that Phonegap is not a like-for-like replacement for Electron?
Cheers everyone/anyone!
Sam
It really depends on how deep your Electron app is bound to Electron specific API. Those specific API comprises Node and Electron functions. Those specific Electron functions (for example application menu) will be something you have to manually migrate. So the steps would be:
Create new Cordova app in iOS. Cordova web site has detailed instructions.
Copy your html/js/css content from Electron app and hook on Cordova bootstrapper
Replace Electron specific API to something pure web
Replace Node functions with possibly NPM analogous modules
Note:some Node API won't be available from Cordova app, for example file system API.

Resources