diff options
author | GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> | 2023-05-01 03:06:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 03:06:10 +0200 |
commit | d00c49812af54121867eb1835f9d25e44d16c109 (patch) | |
tree | a7eccc74159588fd5b3ca97867a75b0a594dc6a3 /docs | |
parent | 06754cc2f63468a6a1945357918428fd9707cd91 (diff) | |
download | FlightCore-d00c49812af54121867eb1835f9d25e44d16c109.tar.gz FlightCore-d00c49812af54121867eb1835f9d25e44d16c109.zip |
feat: Show error message if WebView2 not installed (#285)
* feat: Show error message if WebView2 not installed
on Windows
* fix: Add missing dependency
* fix: Do not import lib on OS where not needed
Don't need to import Windows lib on Linux
* feat: Link to troubleshooting page directly
* chore: Update comments
* docs: Show error message in troubleshooting guide
Show the "WebView2 not installed" error message in the troubleshooting
guide
* fix: Resolve clippy error
* fix: Resolve clippy error (again)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/TROUBLESHOOTING.md | 8 | ||||
-rw-r--r-- | docs/assets/flightcore-webview2-windows-error-message.png | bin | 0 -> 4631 bytes |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index aed174e0..d36b1e1f 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -4,7 +4,13 @@ Got an issue with FlightCore? Hopefully one of the steps below will help you res ## FlightCore won't launch -If you are on Windows on FlightCore won't start, make sure you have WebView2 installed. You can grab the latest version from the Microsoft website: \ +If you are on Windows and FlightCore won't start but instead shows an error message like this + +![webview2 error message windows](assets/flightcore-webview2-windows-error-message.png) + +that means that WebView2 is not installed. WebView2 is an embedded browser framework used by FlightCore to display its GUI. + +To install it, you can grab the latest version from the Microsoft website: \ https://developer.microsoft.com/en-us/microsoft-edge/webview2/#download-section ![webview2 download screenshot](assets/webview2-download-screenshot.png) diff --git a/docs/assets/flightcore-webview2-windows-error-message.png b/docs/assets/flightcore-webview2-windows-error-message.png Binary files differnew file mode 100644 index 00000000..bbe4422f --- /dev/null +++ b/docs/assets/flightcore-webview2-windows-error-message.png |