Build Cross Platform Desktop with Electronjs & Nativefier
Required Instalation :
- Install Node.js (https://nodejs.org/en/download/)
or use CLI
apt-get install -y nodejs
- Install Nativefier
npm install nativefier -g
- Install Wixtooll in (https://github.com/wixtoolset/wix3/releases)
[Click on install and wait until the setup finishes, when it's done you will find the files of the installation at C:\Program Files (x86)\WiX Toolset v3.11. After installing WiX you will need to expose the binaries path of the WiX Toolset to the PATH environment variable of Windows]
IT'S A BEAUTIFUL MAGIC :)
- For a simple create desktop app :
nativefier "http://domain.com"
or
nativefier --single-instance -i "icon directory" --name "Name App" "http://domain.com/"
- Create .exe installer
- Open and setup file "build_installer.js"
- run a file with command
#node build_installer