diff options
author | Dmitrii Selivanov <selivano.d@gmail.com> | 2022-07-20 00:57:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 00:57:20 +0300 |
commit | 08e3f7beb640c7670bccefd21f9b00aa5a5eb813 (patch) | |
tree | 8dcb37e0f1f4c9b17df5dec02a146339fc8ca82a | |
parent | 8d9e66c87f7a3ad86cbac3255db02b047ee2cf71 (diff) | |
parent | f41d668e75552adccbcdbc68ec9dd0f0998c14c7 (diff) |
Merge pull request #649 from bershanskiy/patch-1
Handle onInstalled.reason "chrome_update"
-rw-r--r-- | Extensions/combined/ryd.background.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Extensions/combined/ryd.background.js b/Extensions/combined/ryd.background.js index 75f22ae..48f57d0 100644 --- a/Extensions/combined/ryd.background.js +++ b/Extensions/combined/ryd.background.js @@ -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" ) |