mirror of
https://github.com/FranP-code/ChatGPT.git
synced 2025-10-13 00:13:25 +00:00
chore: add fe
This commit is contained in:
1
src-tauri/src/assets/core.js
vendored
1
src-tauri/src/assets/core.js
vendored
@@ -1,4 +1,5 @@
|
||||
// *** Core Script - IPC ***
|
||||
|
||||
const uid = () => window.crypto.getRandomValues(new Uint32Array(1))[0];
|
||||
function transformCallback(callback = () => {}, once = false) {
|
||||
const identifier = uid();
|
||||
|
||||
2
src-tauri/src/assets/origin.js
vendored
2
src-tauri/src/assets/origin.js
vendored
@@ -1,3 +1,5 @@
|
||||
// *** Core Script - Origin ***
|
||||
|
||||
function init() {
|
||||
document.body.innerHTML = `<style>
|
||||
body {
|
||||
|
||||
2
src-tauri/src/assets/ua.js
vendored
2
src-tauri/src/assets/ua.js
vendored
@@ -1,3 +1,5 @@
|
||||
// *** Core Script - User Agent ***
|
||||
|
||||
function init() {
|
||||
document.body.innerHTML = `<style>
|
||||
body {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user