支持朋友圈图片解密;视频解密;实况渲染

This commit is contained in:
cc
2026-02-16 23:31:52 +08:00
parent 75b056d5ba
commit b4248d4a12
21 changed files with 5748 additions and 225 deletions

View File

@@ -1,3 +1,5 @@
import { join } from 'path'
import { app } from 'electron'
import Store from 'electron-store'
interface ConfigSchema {
@@ -111,6 +113,14 @@ export class ConfigService {
this.store.set(key, value)
}
getCacheBasePath(): string {
const configured = this.get('cachePath')
if (configured && configured.trim().length > 0) {
return configured
}
return join(app.getPath('documents'), 'WeFlow')
}
getAll(): ConfigSchema {
return this.store.store
}