Fix logging overflow
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
edee0dd8c1
commit
c0a474abf4
|
@ -715,11 +715,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;
|
||||
|
|
Loading…
Reference in New Issue