-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't try and install the WASM module for MSFS versions that aren't installed #1868
Conversation
Build for this pull request: |
Build for this pull request: |
Build for this pull request: |
@@ -140,7 +140,6 @@ public bool InstallWasmModule(string communityFolder) | |||
// Remove the old Wasm File | |||
DeleteOldWasmFile(communityFolder); | |||
|
|||
Log.Instance.log("WASM module has been installed successfully.", LogSeverity.Info); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The caller now logs this based on the return value so different log messages can be sent based on the simulator version.
Build for this pull request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comment
Build for this pull request: |
@DocMoebiuz I unwound the if statements, thanks for the suggestion. So much better. |
Build for this pull request: |
Fixes #1867