chore: add fe

This commit is contained in:
lencx
2022-12-13 11:58:47 +08:00
parent 918d53c9b9
commit 430d6e4af2
17 changed files with 262 additions and 10 deletions

View File

@@ -1,4 +1,5 @@
// *** Core Script - IPC ***
const uid = () => window.crypto.getRandomValues(new Uint32Array(1))[0];
function transformCallback(callback = () => {}, once = false) {
const identifier = uid();

View File

@@ -1,3 +1,5 @@
// *** Core Script - Origin ***
function init() {
document.body.innerHTML = `<style>
body {

View File

@@ -1,3 +1,5 @@
// *** Core Script - User Agent ***
function init() {
document.body.innerHTML = `<style>
body {

View File

@@ -1,8 +1,8 @@
{
"build": {
"beforeDevCommand": "",
"beforeBuildCommand": "",
"devPath": "../dist",
"beforeDevCommand": "npm run dev:fe",
"beforeBuildCommand": "npm run build:fe",
"devPath": "http://localhost:1420/",
"distDir": "../dist"
},
"package": {
@@ -63,6 +63,13 @@
"https://lencx.github.io/ChatGPT/install.json"
],
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEIxMjY4OUI5MTVFNjBEMDUKUldRRkRlWVZ1WWttc1NGWEE0RFNSb0RqdnhsekRJZTkwK2hVLzhBZTZnaHExSEZ1ZEdzWkpXTHkK"
}
},
"windows": [
{
"label": "main",
"url": "index.html",
"visible": false
}
]
}
}