Opening changelog on-update

pull/271/head
Kevin Payravi 2023-10-16 02:08:08 -04:00
parent dd711f4a9a
commit ab080f07d2
1 changed files with 5 additions and 0 deletions

View File

@ -31,6 +31,11 @@ chrome.runtime.onInstalled.addListener(function (detail) {
if (detail.reason === 'install') {
chrome.tabs.create({ url: 'settings.html?newinstall=true' });
}
// If update, open changelog
if (detail.reason === 'update') {
chrome.tabs.create({ url: 'https://getindie.wiki/changelog/?updated=true' });
}
});
if (chrome.declarativeNetRequest) {