-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enforce latest version (#1954)
## What does this PR change? Close #1900 Adds check of the current explorer version on startup and if not, it shows a UI popup where user can select or to Update the version or to close the Explorer without the update. The option with Update will start Launcher (if installed) or will start downloading the Launcher from download page and close Explorer. Feature is forced on the release and disabled for the debug mode. ## How to test the changes? 1. Launch the explorer from the command line with `--simulateVersion 0.1.0 --debug --versionControl true` parameter 2. After the splash screen you should see a popup 3. Press "Update Now" -> verify it opens Launcher and closes Explorer 4. Press "Exit Application" -> verify it just closes Explorer Test on Win, Mac and Mac arm. Test "Update Now" with Launcher installed and with Launcher not installed machines. Test "Update Now" with different Launcher installation folders (if supported). Test with just parameters `--simulateVersion 0.1.0 --debug` - it shouldn't popup.
- Loading branch information
Showing
36 changed files
with
2,675 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
Explorer/Assets/DCL/ApplicationVersionGuard/ApplicationVersionGuard.asmdef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "ApplicationVersionGuard", | ||
"rootNamespace": "", | ||
"references": [ | ||
"GUID:4a12c0b1b77ec6b418a8d7bd5c925be3", | ||
"GUID:0b3eab7834a09c24ca4e84fe0d8a43ce", | ||
"GUID:45f6fff651a0a514f8edfdaf9cce45af", | ||
"GUID:f51ebe6a0ceec4240a699833d6309b23", | ||
"GUID:6055be8ebefd69e48b49212b09b47b2f", | ||
"GUID:91cf8206af184dac8e30eb46747e9939", | ||
"GUID:3640f3c0b42946b0b8794a1ed8e06ca5" | ||
], | ||
"includePlatforms": [], | ||
"excludePlatforms": [], | ||
"allowUnsafeCode": false, | ||
"overrideReferences": false, | ||
"precompiledReferences": [], | ||
"autoReferenced": true, | ||
"defineConstraints": [], | ||
"versionDefines": [], | ||
"noEngineReferences": false | ||
} |
3 changes: 3 additions & 0 deletions
3
Explorer/Assets/DCL/ApplicationVersionGuard/ApplicationVersionGuard.asmdef.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.