message: fix: disable warning on dev
diff: @@ -132,9 +132,9 @@ function onStartup (): void {
  }
  // anti piracy
  - if (lastCheckUpdate && isExtTainted &&
  - Math.floor((today - lastCheckUpdate) / 24 / 60 / 60 / 1000) % 7 === 0
  - ) {
  + if (!process.env.DEV_BUILD && lastCheckUpdate && isExtTainted) {
  + const diff = Math.floor((today - lastCheckUpdate) / 24 / 60 / 60 / 1000)
  + if (diff > 0 && diff % 7 === 0) {
  browser.notifications.create('update', {
  type: 'basic',
  iconUrl: browser.runtime.getURL(`static/icon-128.png`),
  @@ -143,6 +143,7 @@ function onStartup (): void {
  buttons: [{ title: decodeURI('%E6%9F%A5%E7%9C%8B%E5%8F%AF%E9%9D%A0%E7%9A%84%E5%B9%B3%E5%8F%B0') }],
  })
  }
  + }
  })
  // Chrome fails to inject css via manifest if the page is loaded
  