[🛠️ Fix] Change the logic of determining isEncConfig

1. [/] 修正了识别配置文件加密状态时的逻辑错误
This commit is contained in:
Minoricew
2025-06-17 00:50:54 +08:00
parent 0494394fd8
commit f6a30351fd

View File

@@ -78,10 +78,10 @@ class ConfigManager {
this.isConfigReadFailed = false;
this.side = "unknown";
if (fs.existsSync(this.configPath)) {
this.useEncConfig = false;
} else {
if (fs.existsSync(this.encConfigPath)) {
this.useEncConfig = true;
} else {
this.useEncConfig = false;
}
if (global.__HUGO_AURA_EVENT_BUS__) {