How to use Electron with a specific version of Chromium? - electron

I need make a project with Electron but I need to use Chromium version: 42.0.2289.1
Can I tell Electron to use a specific version of Chromium?

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.

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

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?

Can electron-forge be used with Electron 3.0?

I would like to use some Electron 3.0 new APIs in my electron-forge application, but I am not finding any information of which electron version is electron-forge supporting?
I am currently running electron-forge 5.2.2.
Can anyone please help?
Well it seems actually that electron-forge is installing its own version of electron as part of dependencies of electron-prebuilt-compile. So you can't actually upgrade yourself.

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.

Using ES6 on Electron app with io.js

I am writing cross-platform application with electron.
I want to be enable ES6 arrow-function feature in main process using like iojs --harmony_arrow_functions.
Electron already installed successfully on io.js 3.1.0 .
How I can do it with io.js?
If you go to the electron releases, in major/minor release notes you can see which version of nodejs it is using:
https://github.com/atom/electron/releases/tag/v0.36.0
Upgrade to Node 5.1.1.
I'm not totally sure which version of node arrow functions first became available but I can confirm that they are available in the latest version, 5.2.0.
Relatedly, to easily switch between versions of node I highly recommend using nvm:
https://github.com/creationix/nvm
That way you can easily switch to match updated versions of electron and you can automate it quite easily as well.
Electron was switched to nodejs, currently 5.1 see here - https://github.com/atom/electron/releases/tag/v0.36.0

Resources