From 16e8d3b2db6154951a8be8b013a02151fed8305d Mon Sep 17 00:00:00 2001 From: Folyd Date: Sat, 22 Apr 2023 18:44:36 +0800 Subject: [PATCH] Always invoke `start()` function --- extension/main.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/extension/main.js b/extension/main.js index 7f19039f..ba2ee972 100644 --- a/extension/main.js +++ b/extension/main.js @@ -552,4 +552,8 @@ chrome.runtime.onInstalled.addListener(async ({ previousVersion, reason }) => { } await start() -}); \ No newline at end of file +}); + +(async () => { + await start(); +})(); \ No newline at end of file