mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-21 13:53:01 +01:00
Merge pull request #649 from bershanskiy/patch-1
Handle onInstalled.reason "chrome_update"
This commit is contained in:
1 file changed
+2
@@ -77,6 +77,8 @@ api.runtime.onInstalled.addListener((details) => {
|
||||
if (
|
||||
// No need to show changelog if its was a browser update (and not extension 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
|
||||
details.reason === "update"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user