
Currently, Electron Packager uses node-rcedit to accomplish this. Building an Electron app for the Windows target platform requires editing the Electron.exe file. Building Windows apps from non-Windows platforms. This will create the application window for your app. It is not recommended to install electron-packager globally.
When the app is ready, call the createWindow() function. Delete node modules/electron folder in appdata if installing golbally or from application folder if locally. Win.loadFile( 'dist/electron-app/index.html') Then, run the installation of the Desktop App Converter, passing in the location of the Windows base Image (downloaded as BaseImage-14316.wim ), by calling. Based on project statistics from the GitHub repository for the npm package electron-installer-windows, we found that it has been starred 465 times. In this file, initialize Electron so that you can use it to create the application window. Electron is an open source software framework that software developers can use to create desktop apps that work across Windows, macOS, and Linux operating. Sqlectron - One single DB client for any relational DB A simple and lightweight SQL client desktop/terminal with cross database and platform support. Create a file in the root of your project named main.js. Electron Packager is a command line tool and Node.js library that bundles Electron-based application source code with a renamed Electron executable and supporting files into folders ready for distribution. ymlfiles.How to Use Electron to Open an Angular Application in a Desktop WindowĬreate the main.js file, and configure it to open the application's content inside a desktop window. Here is the example of electron-builder.json. And it's easy to configure and we can use electron auto-updater too. electron-builder should be the best choice. To package the electron app as installable or executable.