perf: json5

This commit is contained in:
AIsouler
2024-03-29 20:43:15 +08:00
parent 36b6f5ee00
commit 7d231d13a7

View File

@@ -118,7 +118,7 @@ export const writeConfig = async (config: RawSubscription) => {
// 更新 gkd.version.json5 文件
await fs.writeFile(
versionFp,
JSON.stringify(
JSON5.stringify(
{ id: newConfig.id, version: newConfig.version },
undefined,
2,