add-item-from-FAQs

Change-type: patch
This commit is contained in:
Lizzie Epton 2023-02-20 11:07:03 +00:00 committed by GitHub
parent 9b54e2af0b
commit 96fa53b6ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,3 +218,11 @@ macOS 10.10 (Yosemite) and newer versions][electron-supported-platforms].
[unetbootin]: https://unetbootin.github.io
[windows-iot-dashboard]: https://developer.microsoft.com/en-us/windows/iot/downloads
[woeusb]: https://github.com/slacka/WoeUSB
How can I simulate an update alert?
-----------------------------
You can set the ETCHER_FAKE_S3_LATEST_VERSION environment variable to a valid semver version (greater than the current version) to trick the application into thinking that what you put there is the latest available version, therefore causing the update notification dialog to be presented at startup.
Note that the value of the variable will be ignored if it doesn't match the release type of the current application version. For example, setting the variable to a production version (e.g. ETCHER_FAKE_S3_LATEST_VERSION=2.0.0) will be ignored if you're running a snapshot build, and vice-versa.
See [PUBLISHING](/docs/PUBLISHING.md) for more details about release types.