2 Commits ec803a45d6 ... 894fffa25b

Author SHA1 Message Date
  mrabit 894fffa25b feat: 青龙面板支持 2 years ago
  mrabit ec803a45d6 feat: 青龙面板支持 2 years ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qlAction.js

+ 1 - 1
qlAction.js

@@ -10,7 +10,7 @@ const api = require('./api')
 let example = path.resolve(__dirname, './config.example.js')
 let example = path.resolve(__dirname, './config.example.js')
 let config = path.resolve(__dirname, './config.js')
 let config = path.resolve(__dirname, './config.js')
 
 
-if (fs.existsSync(config)) {
+if (!fs.existsSync(config)) {
   fs.writeFileSync(config, fs.readFileSync(example))
   fs.writeFileSync(config, fs.readFileSync(example))
 }
 }