mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-01 10:21:22 +01:00
Handle onInstalled.reason "chrome_update"
This commit is contained in:
1 parent
16b1c2ccf0
commit
f41d668e75
1 file changed
+2
@@ -77,6 +77,8 @@ api.runtime.onInstalled.addListener((details) => {
|
|||||||
if (
|
if (
|
||||||
// No need to show changelog if its was a browser update (and not extension update)
|
// No need to show changelog if its was a browser update (and not extension update)
|
||||||
details.reason === "browser_update" ||
|
details.reason === "browser_update" ||
|
||||||
|
// Chromium (e.g., Google Chrome Cannary) uses this name instead of the one above for some reason
|
||||||
|
details.reason === "chrome_update" ||
|
||||||
// No need to show changelog if developer just reloaded the extension
|
// No need to show changelog if developer just reloaded the extension
|
||||||
details.reason === "update"
|
details.reason === "update"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user