From 96fa53b6ee4ec7a29522df488b927074c0f301ca Mon Sep 17 00:00:00 2001 From: Lizzie Epton <36413849+Lizzieepton@users.noreply.github.com> Date: Mon, 20 Feb 2023 11:07:03 +0000 Subject: [PATCH] add-item-from-FAQs Change-type: patch --- docs/USER-DOCUMENTATION.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/USER-DOCUMENTATION.md b/docs/USER-DOCUMENTATION.md index 47b9f3c4..6e9084d7 100644 --- a/docs/USER-DOCUMENTATION.md +++ b/docs/USER-DOCUMENTATION.md @@ -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. \ No newline at end of file