mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-17 15:25:08 +08:00
perf: json5
This commit is contained in:
@@ -118,7 +118,7 @@ export const writeConfig = async (config: RawSubscription) => {
|
|||||||
// 更新 gkd.version.json5 文件
|
// 更新 gkd.version.json5 文件
|
||||||
await fs.writeFile(
|
await fs.writeFile(
|
||||||
versionFp,
|
versionFp,
|
||||||
JSON.stringify(
|
JSON5.stringify(
|
||||||
{ id: newConfig.id, version: newConfig.version },
|
{ id: newConfig.id, version: newConfig.version },
|
||||||
undefined,
|
undefined,
|
||||||
2,
|
2,
|
||||||
|
|||||||
Reference in New Issue
Block a user