Use human-readable names for websockets

This commit is contained in:
Fedor Indutny 2021-12-01 19:55:17 +01:00 committed by GitHub
parent 27f4dc6177
commit 84407cb005
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 4 deletions

View file

@ -756,7 +756,11 @@ export async function startApp(): Promise<void> {
}
// This one should always be last - it could restart the app
if (window.isBeforeVersion(lastVersion, 'v1.15.0-beta.5')) {
if (
window.isBeforeVersion(lastVersion, 'v1.15.0-beta.5') ||
(window.isAfterVersion(lastVersion, 'v5.24.0-alpha') &&
window.isBeforeVersion(lastVersion, 'v5.25.0'))
) {
await deleteAllLogs();
window.restart();
return;