mirror of
https://github.com/Dasemu/X-GeoBlock.git
synced 2026-11-26 15:26:09 +00:00
feat: add collaborative Cloudflare cache and debug mode
This commit is contained in:
1 parent
7e88fee0c2
commit
067cbfd24c
20 files changed
+695
-31
No files matched your search
+2
-2
@@ -8,7 +8,7 @@ const dist = join(root, "dist");
|
||||
const baseManifest = JSON.parse(readFileSync(join(root, "manifest.json"), "utf8"));
|
||||
const version = baseManifest.version;
|
||||
const sharedFiles = [
|
||||
"background.js", "content.js", "content.css", "icons", "lib", "options", "popup"
|
||||
"background.js", "content.js", "content.css", "page-bridge.js", "icons", "lib", "options", "popup"
|
||||
];
|
||||
|
||||
rmSync(dist, { recursive: true, force: true });
|
||||
@@ -30,7 +30,7 @@ const firefoxManifest = structuredClone(baseManifest);
|
||||
delete firefoxManifest.minimum_chrome_version;
|
||||
firefoxManifest.permissions = firefoxManifest.permissions.filter((permission) => permission !== "offscreen");
|
||||
firefoxManifest.background = {
|
||||
scripts: ["lib/config.js", "lib/parser.js", "background.js"]
|
||||
scripts: ["lib/config.js", "lib/cloud-cache.js", "lib/parser.js", "background.js"]
|
||||
};
|
||||
firefoxManifest.browser_specific_settings = {
|
||||
gecko: {
|
||||
|
||||
Reference in new issue
Block a user