rel-events | The relevant React Events Library | Frontend Utils library
kandi X-RAY | rel-events Summary
kandi X-RAY | rel-events Summary
The relevant React Events Library.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rel-events
rel-events Key Features
rel-events Examples and Code Snippets
Community Discussions
Trending Discussions on rel-events
QUESTION
How to add an installation step to the application? In order for the installation to read the terms of use.
I use - Electron Installer
There is an event: --squirrel-install
What to add?
...ANSWER
Answered 2017-Nov-18 at 21:02I believe you actually shouldn't use a Squirrel events to handle this, as documentation stated:
Squirrel will spawn your app with command line flags on first run, updates, and uninstalls. it is very important that your app handle these events as early as possible, and quit immediately after handling them. Squirrel will give your app a short amount of time (~15sec) to apply these operations and quit.
Which isn't suitable for showing terms of use so I'd suggest having a boolean flag in the filesystem indicating if the user has accepted terms of use. Moreover, by storing a flag in filesystem you can avoid situations when your applications were restarted without reading terms of use.
UPDATE: You might want to use electron-builder instead, it supports license dialog for macOS and Windows.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rel-events
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page