diff --git a/lib/background.ts b/lib/background.ts index e0e16d7..d77d342 100644 --- a/lib/background.ts +++ b/lib/background.ts @@ -152,11 +152,16 @@ runtime.onInstalled.addListener(({reason, previousVersion}: OnInstalled) => { const {version} = runtime.getManifest(); const major = getMajor(version); const prevMajor = getMajor(previousVersion); - if (reason === "install" || (reason === "update" && major !== prevMajor)) { + if (reason === "update" && major !== prevMajor) { tabs.create({ url: `https://about.downthemall.org/changelog/?cur=${major}&prev=${prevMajor}`, }); } + else if (reason === "install") { + tabs.create({ + url: `https://about.downthemall.org/4.0/?cur=${major}`, + }); + } }); locale.then(() => {