2026-04-03 00:39:15 +08:00
|
|
|
import { defineConfig } from "wxt";
|
|
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
|
modules: ["@wxt-dev/module-vue"],
|
|
|
|
|
manifest: {
|
|
|
|
|
name: "GEO Publisher",
|
|
|
|
|
description: "Bind media accounts, execute local publish flows, and keep background detection tasks running.",
|
2026-04-12 09:56:18 +08:00
|
|
|
permissions: ["scripting", "activeTab", "background","storage", "tabs", "tabGroups", "alarms", "cookies", "webRequest", "declarativeNetRequest"],
|
2026-04-03 00:39:15 +08:00
|
|
|
host_permissions: ["http://*/*", "https://*/*"],
|
|
|
|
|
declarative_net_request: {
|
|
|
|
|
rule_resources: [
|
|
|
|
|
{
|
|
|
|
|
id: "publisher-rules",
|
|
|
|
|
enabled: true,
|
|
|
|
|
path: "rules.json",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
action: {
|
|
|
|
|
default_title: "GEO Publisher",
|
|
|
|
|
default_popup: "popup.html",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
});
|