chore: update extension description

This commit is contained in:
Hakadao
2023-02-08 19:06:29 +08:00
parent 67d35f2b75
commit 98d947c826
2 changed files with 4 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
"private": true,
"packageManager": "pnpm@7.8.0",
"description": "[description]",
"homepage": "https://github.com/hakadao/BewlyBewly",
"scripts": {
"dev": "npm run clear && cross-env NODE_ENV=development run-p dev:*",
"dev:prepare": "esno scripts/prepare.ts",

View File

@@ -10,9 +10,10 @@ export async function getManifest() {
// can also be conditional based on your need
const manifest: Manifest.WebExtensionManifest = {
manifest_version: 3,
name: pkg.displayName || pkg.name,
name: `${pkg.displayName || pkg.name}${isDev ? ' Dev' : ''}`,
version: pkg.version,
description: pkg.description,
homepage_url: pkg.homepage,
// action: {
// default_icon: './assets/icon-512.png',
// default_popup: './dist/popup/index.html',
@@ -35,7 +36,7 @@ export async function getManifest() {
'activeTab',
'scripting',
],
host_permissions: ['*://*/*'],
host_permissions: ['https://*.bilibili.com/*'],
content_scripts: [
{
matches: ['http://www.bilibili.com/*', 'https://www.bilibili.com/*'],