fix: fix It Just Works

Fixed an issue that caused inconsistent execution results.
This commit is contained in:
JellyBrick
2023-10-11 19:28:01 +09:00
parent 7aa970cebc
commit d7df4d7d10
6 changed files with 21 additions and 21 deletions

View File

@ -1,4 +1,3 @@
export default () => {
const path = '@cliqz/adblocker-electron-preload'; // prevent require hoisting
require(path);
export default async () => {
await import('@cliqz/adblocker-electron-preload');
};