diff --git a/dist/AIsouler_gkd.version.json b/dist/AIsouler_gkd.version.json deleted file mode 100644 index 4a1043ae..00000000 --- a/dist/AIsouler_gkd.version.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "id": 666, - "version": 46 -} \ No newline at end of file diff --git a/dist/AIsouler_gkd.version.json5 b/dist/AIsouler_gkd.version.json5 new file mode 100644 index 00000000..8f5655d8 --- /dev/null +++ b/dist/AIsouler_gkd.version.json5 @@ -0,0 +1,4 @@ +{ + id: 666, + version: 46, +} \ No newline at end of file diff --git a/src/config.ts b/src/config.ts index 1735bf00..0beff0da 100644 --- a/src/config.ts +++ b/src/config.ts @@ -9,7 +9,7 @@ const subsConfig: RawSubscription = { name: 'AIsouler的GKD订阅', author: 'AIsouler', supportUri: 'https://github.com/AIsouler/GKD_subscription', - checkUpdateUrl: './AIsouler_gkd.version.json', + checkUpdateUrl: './AIsouler_gkd.version.json5', globalGroups, categories, apps, diff --git a/src/file.ts b/src/file.ts index d9412b02..49b51936 100644 --- a/src/file.ts +++ b/src/file.ts @@ -75,7 +75,7 @@ const pkgKeys = Object.keys(pkg); // 定义保存规则配置的文件路径和版本文件路径 const gkdFp = process.cwd() + '/dist/AIsouler_gkd.json5'; -const versionFp = process.cwd() + '/dist/AIsouler_gkd.version.json'; +const versionFp = process.cwd() + '/dist/AIsouler_gkd.version.json5'; // 解析已保存的规则配置,并将结果赋值给 oldConfig 变量 const oldConfig: RawSubscription = JSON5.parse(