mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 05:17:10 +00:00
fix: 删除上传的设定;一些设定共享的优化改进
This commit is contained in:
parent
b11a653c51
commit
b4f37b5339
6 changed files with 74 additions and 29 deletions
6
index.js
6
index.js
|
|
@ -1,8 +1,8 @@
|
|||
import fs from 'node:fs'
|
||||
import {Config} from "./utils/config.js";
|
||||
|
||||
import { Config } from './utils/config.js'
|
||||
|
||||
if (!global.segment) {
|
||||
global.segment = (await import("oicq")).segment
|
||||
global.segment = (await import('oicq')).segment
|
||||
}
|
||||
|
||||
const files = fs.readdirSync('./plugins/chatgpt-plugin/apps').filter(file => file.endsWith('.js'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue