Fix crash on Chrome 128

This commit is contained in:
Cohee 2024-08-25 19:27:18 +03:00
parent eb015e4a9a
commit 0f5179ed2d
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ async function activateExtensions() {
if (!isDisabled) {
const promise = Promise.all([addExtensionScript(name, manifest), addExtensionStyle(name, manifest)]);
promise
await promise
.then(() => activeExtensions.add(name))
.catch(err => console.log('Could not activate extension: ' + name, err));
promises.push(promise);