@@ -14,12 +14,13 @@ import { ScriptDAO } from "@App/app/repo/scripts";
1414import { SystemService } from "./system" ;
1515import { type Logger , LoggerDAO } from "@App/app/repo/logger" ;
1616import { initLocales , initLocalesPromise , localePath , t , watchLanguageChange } from "@App/locales/locales" ;
17- import { getCurrentTab , InfoNotification } from "@App/pkg/utils/utils" ;
17+ import { getCurrentTab } from "@App/pkg/utils/utils" ;
1818import { onTabRemoved , onUrlNavigated , setOnUserActionDomainChanged } from "./url_monitor" ;
1919import { LocalStorageDAO } from "@App/app/repo/localStorage" ;
2020import { FaviconDAO } from "@App/app/repo/favicon" ;
2121import { onRegularUpdateCheckAlarm } from "./regular_updatecheck" ;
2222import { cacheInstance } from "@App/app/cache" ;
23+ import { InfoNotification } from "./utils" ;
2324
2425// service worker的管理器
2526export default class ServiceWorkerManager {
@@ -207,7 +208,9 @@ export default class ServiceWorkerManager {
207208 const url = `${ DocumentationSite } ${ localePath } /docs/change/${ ExtVersion . includes ( "-" ) ? "beta-changelog/" : "" } #${ ExtVersion } ` ;
208209 // 如果只是修复版本,只弹出通知不打开页面
209210 // beta版本还是每次都打开更新页面
210- InfoNotification ( t ( "ext_update_notification" ) , t ( "ext_update_notification_desc" , { version : ExtVersion } ) ) ;
211+ InfoNotification ( t ( "ext_update_notification" ) , t ( "ext_update_notification_desc" , { version : ExtVersion } ) , {
212+ url,
213+ } ) ;
211214 if ( ExtVersion . endsWith ( ".0" ) ) {
212215 getCurrentTab ( )
213216 . then ( ( tab ) => {
0 commit comments