|
|
@ -1,18 +1,9 @@ |
|
|
|
/* eslint-disable */ |
|
|
|
|
|
|
|
import { spawnSync } from "child_process"; |
|
|
|
import { writeFileSync, readFileSync, copyFileSync } from "fs"; |
|
|
|
import inlineWorkerPlugin from "esbuild-plugin-inline-worker"; |
|
|
|
import { writeFileSync, copyFileSync } from "fs"; |
|
|
|
|
|
|
|
import esbuild from "esbuild"; |
|
|
|
//import path from 'path';
|
|
|
|
|
|
|
|
//import ChromeExtension from 'crx';
|
|
|
|
|
|
|
|
//const crx = new ChromeExtension({
|
|
|
|
// codebase: 'https://github.com/coomdev/pngextraembedder/raw/branch/%E4%B8%AD%E5%87%BA%E3%81%97/PEE-chrome.crx',
|
|
|
|
// privateKey: readFileSync('./key.pem')
|
|
|
|
//});
|
|
|
|
|
|
|
|
let res = spawnSync("git", ["rev-list", "--count", "HEAD"]); |
|
|
|
let rev = +res.stdout; |
|
|
@ -25,7 +16,6 @@ const domains = [ |
|
|
|
|
|
|
|
const manif3 = { |
|
|
|
manifest_version: 3, |
|
|
|
// "update_url": "https://github.com/coomdev/pngextraembedder/raw/branch/%E4%B8%AD%E5%87%BA%E3%81%97/chrome_update.xml",
|
|
|
|
name: "Joshi Koukousei Captcha Service", |
|
|
|
description: "The captcha solver made by and for japanese high school girls", |
|
|
|
version: "0." + rev, |
|
|
@ -33,7 +23,6 @@ const manif3 = { |
|
|
|
64: "1449696017588.png", |
|
|
|
}, |
|
|
|
permissions: [], |
|
|
|
host_permissions: ["<all_urls>"], |
|
|
|
web_accessible_resources: [ |
|
|
|
{ |
|
|
|
resources: ["*.html", "*.js", "*.json", "*.bin", "*.wasm"], |
|
|
|