![]() ![]() NET framework based, so better follow the instructions from their manual. ![]() NET libraries ("assemblies"), and AFAIK Electron is node.js based, not. For example, the global assembly cache (GAC) you mentioned is designed specificially to avoid version conflicts. Of course, today, modern Windows systems have means and conventions to provide different versions of the same libraries and frameworks in parallel. GitHub - ShaharHD/electron-react-webpack-typescript-vscode-debug. If you click the ad below I get paid by someone else and can continue to publish posts for free. This caused so much trouble that this phenomenon got the name " DLL hell". Well create a tiny web application to show client-side debugging in action. Now you can run the following to create a Windows installer: npm run package-win npm run create-installer-win Signing installer The readme of electron-winstaller tells you to sign your installer. So don't make the same error as Microsoft several years ago, when they provided just one MFC.DLL and one MSVCRT.DLL directly in the Windows system folder, allowing each program just to install a newer version of those DLLs by replacing the older ones (and sometimes replacing newer versions by older ones). ![]() Worse, you might produce version conflicts with other Electron apps where you are not the author and which definitely use a different Electron lib version than your apps. To test the packaged Electron app, navigate to the MyElectronApp-win32-圆4 directory and double-click on the MyElectronApp.exe file. This is a clear advice that if you try to install Electron libraries just once inside the system32 folder or a similar central place, and not inside each application's folder, you cannot easily mix different versions. This will create a directory named MyElectronApp-win32-圆4 in the dist directory with the packaged app. The recommended way of doing so is to install it as a development dependency in your app, which allows you to work on multiple apps with different Electron versions. Docker images to build Electron app for Linux or Windows on any platform. At this point, you'll need to install electron itself. Windows: nsis (Installer), nsis-web (Web installer), portable (portable app.
0 Comments
Leave a Reply. |