AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Create installer for electron app5/6/2023 You can get debug messages from this package by running with the environment variable DEBUG=electron-windows-installer:main e.g. Another thing to be aware of is that, since the app is spawned by squirrel and squirrel acquires a file lock during installation, you won't be able to successfully check for app updates till a few seconds later when squirrel releases the lock. We will use the same command in our GitHub actions workflow in later steps. This allows you to do things like showing up a splash screen or presenting a settings UI. The yarn package command generates a dist folder with the HTML/JS bundle. Notice that the first time the installer launches your app, your app will see a -squirrel-firstrun flag. Electron Forge is an all-in-one tool for packaging and distributing Electron applications. Once you have those certificates generated, you should be all set. NB: Use this syntax within an async function, Node does not have support for // top-level await as of Node 12. Use the + button to create certificates of types Developer ID Application and Developer ID Installer.
0 Comments
Read More
Leave a Reply. |