mirror of
https://github.com/Le-niao/Yunzai-Bot.git
synced 2025-01-09 05:57:31 +08:00
修复初始化报错
This commit is contained in:
parent
449d3cd656
commit
b07807a0d0
@ -3,6 +3,12 @@ import Note from '../model/note.js'
|
||||
import MysSign from '../model/mysSign.js'
|
||||
import gsCfg from '../model/gsCfg.js'
|
||||
import puppeteer from '../../../lib/puppeteer/puppeteer.js'
|
||||
import fs from 'node:fs'
|
||||
|
||||
let set = './plugins/genshin/config/mys.set.yaml'
|
||||
if (!fs.existsSync(set)) {
|
||||
fs.copyFileSync('./plugins/genshin/defSet/mys/set.yaml', set)
|
||||
}
|
||||
|
||||
export class dailyNote extends plugin {
|
||||
constructor () {
|
||||
|
Loading…
Reference in New Issue
Block a user