修复与部分引用功能相关联的无法读取解密配置的问题

This commit is contained in:
ethan
2026-04-05 17:48:12 -04:00
parent 209b91bfef
commit b8bf29277a
4 changed files with 31 additions and 5 deletions

View File

@@ -2362,6 +2362,9 @@ function registerIpcHandlers() {
const cfg = configService || new ConfigService()
configService = cfg
const logEnabled = cfg.get('logEnabled')
const dbPath = String(cfg.get('dbPath') || '').trim()
const decryptKey = String(cfg.get('decryptKey') || '').trim()
const myWxid = String(cfg.get('myWxid') || '').trim()
const resourcesPath = app.isPackaged
? join(process.resourcesPath, 'resources')
: join(app.getAppPath(), 'resources')
@@ -2375,6 +2378,9 @@ function registerIpcHandlers() {
sessionIds,
outputDir,
options,
dbPath,
decryptKey,
myWxid,
resourcesPath,
userDataPath,
logEnabled