Fix logging overflow

This commit is contained in:
Fedor Indutny 2022-01-24 15:36:05 -08:00 committed by GitHub
parent 1e1cb26f08
commit a2a9500728
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -714,11 +714,7 @@ 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') ||
(window.isAfterVersion(lastVersion, 'v5.24.0-alpha') &&
window.isBeforeVersion(lastVersion, 'v5.25.0'))
) {
if (window.isBeforeVersion(lastVersion, 'v5.30.0-alpha')) {
await deleteAllLogs();
window.restart();
return;