12/20/2023 0 Comments Electron create installerSince npm/yarn will always build against a private prebuilt copy of electron, patch the electron dependency from package.json to reference the same version as the system electron dependency. Some electron applications have compiled native extensions which link to the electron runtime, and must be built using the correct electron version. Everything else is just a copy of the electron runtime and can be removed from the final package.īuilding compiled extensions against the system electron This document covers standards and guidelines on writing PKGBUILDs for Electron.Īrch Linux provides global electron and versioned electron* packages that can be used to run an electron application via a shellscript wrapper:Įxec electron /path/to/ appname/ appname/ directory, or alternatively a file bundle called appname.asar, can be found in a prebuilt electron application as the resources/app/ folder (or resources/app.asar). ymlfiles.32-bit – CLR – CMake – Cross – DKMS – Eclipse – Electron – Font – Free Pascal – GNOME – Go – Haskell – Java – KDE – Kernel – Lisp – Meson – MinGW – Node.js – Nonfree – OCaml – Perl – PHP – Python – R – Ruby – Rust – Shell – VCS – Web – Wine 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |