mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-17 23:34:57 +08:00
perf: json5
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user