Electron create installer windows4/22/2023 Installing npm install -save-dev electron-winstaller Usage Require the package: const electronInstaller require('electron-winstaller') Then do a build like so. Here is the Output from the console: Making for the following targets:Įlectron-forge:hook could not find hook: preMake +1msĮlectron-forge:lifecycle Process Started: Making for target: squirrel - On platform: win32 - For arch: ia32 +3msĮlectron-windows-installer:main Using Mono: 'mono' +0msĮlectron-windows-installer:main Using Wine: 'wine' +0msĮlectron-windows-installer:fs-utils Error: ENOENT: no such file or directory, stat '/Users/./Projekte/xprintor/out/xprintor-win32-ia32/resources/app.asar' +10msĮlectron-windows-installer:main Created NuSpec file:Įlectron-windows-installer:main descriptionĮlectron-windows-installer:main copyrightĮlectron-windows-installer:spawn Spawning mono /usr/local/lib/node_modules/electron-forge/node_modules/electron-winstaller/vendor/nuget.exe pack /var/folders/2s/f7qmqftd5k33679ljspvvd4m0000gn/T/si-1171122-17147-169zb4k.alwhg/xprintor.nuspec -BasePath /Users/./Projekte/xprintor/out/xprintor-win32-ia32 -OutputDirectory /var/folders/2s/f7qmqftd5k33679ljspvvd4m0000gn/T/si-1171122-17147-169zb4k. Electron Installer NPM module that builds Windows installers for Electron apps using Squirrel. I build for win32 with 32-bit architecture from my Mac. build for macOS, Windows and Linux electron-builder -mwl build deb and tar.xz for Linux electron-builder -linux deb tar.xz build NSIS 32-bit installer for Windows electron-builder -windows nsis:ia32 set package.json property foo to bar electron-builder -c.extraMetadata. into where you downloaded the installer and install from the command-line. If you want to run electron-installer-windows straight from the command-line, install the package globally: npm install -g electron-installer-windows And point it to your built app: electron-installer-windows -src dist/app-win32-圆4/ -dest dist/installers/ You'll end up with the package at dist/installers/app-0.0.1-setup.exe. But the process hangs up when it comes to electron-windows-installer spawning mono. Securing Bitcoin payments since 2011, Electrum is one of the most popular Bitcoin wallets. Start your node at system startup (Mac/Windows) and control it from your OS. ![]() ![]() ![]() I build my project with electron-forge which uses windows-installer with squirrel target to create an executable installer. Install Nodejs In this tutorial, we are going to install Electron using the Node Package Manager (NPM).
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |