fixed socket cleanup on windows

This commit is contained in:
antelle 2021-04-14 21:26:58 +02:00
parent f893dcb19a
commit 603e698f5a
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 3 additions and 1 deletions

View File

@ -299,7 +299,9 @@ const Launcher = {
}
},
closeOldBrowserExtensionSocket(done) {
if (process.platform !== 'win32') {
if (process.platform === 'win32') {
done();
} else {
this.deleteFile(this.getBrowserExtensionSocketName(), done);
}
}