diff --git a/package-lock.json b/package-lock.json index 7b06cbf..dd3010b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "weatherkit", - "version": "1.8.9", + "version": "1.8.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "weatherkit", - "version": "1.8.9", + "version": "1.8.12", "license": "Apache-2.0", "devDependencies": { - "@iringo/arguments-builder": "^1.2.0", + "@iringo/arguments-builder": "^1.6.0", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", @@ -20,9 +20,9 @@ } }, "node_modules/@iringo/arguments-builder": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/@iringo/arguments-builder/-/arguments-builder-1.4.2.tgz", - "integrity": "sha512-mM+mPq64gS1JzsQZMZbFO0L/a3KY54EA6fKax7YqMhnKEMD2HHsgUDKbZUfqKH50qIKrUKgHkpMoLU3xJXcgYA==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@iringo/arguments-builder/-/arguments-builder-1.6.0.tgz", + "integrity": "sha512-Fy6SkH6p9Xan/PrvljRmzACZ31C4uv7/M8pQdvmBRktWwwoiEMzAZIJzYUphdVISToX/eTrTDKEOf3z8vOi7fA==", "dev": true, "dependencies": { "commander": "^12.1.0", diff --git a/package.json b/package.json index d452791..613ebd4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,8 @@ { "name": "weatherkit", "version": "1.8.12", + "displayName": " iRingo: 🌤 WeatherKit", + "description": "iOS 18 & macOS 15 & watchOS 11\n1.解锁全部天气功能\n2.替换空气质量数据\n3.添加下一小时降水数据", "homepage": "https://github.com/NSRingo/WeatherKit/wiki", "type": "module", "repository": { @@ -23,7 +25,7 @@ "author": "VirgilClyne", "license": "Apache-2.0", "devDependencies": { - "@iringo/arguments-builder": "^1.2.0", + "@iringo/arguments-builder": "^1.6.0", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.2.3", diff --git a/template/loon.handlebars b/template/loon.handlebars index 30e606e..e5a811c 100644 --- a/template/loon.handlebars +++ b/template/loon.handlebars @@ -1,9 +1,9 @@ -#!name =  iRingo: 🌤 WeatherKit -#!desc = iOS 18 & macOS 15 & watchOS 11\n1.解锁全部天气功能\n2.替换空气质量数据\n3.添加下一小时降水数据 +#!name = {{@package 'displayName'}} +#!desc = {{inline (@package 'description')}} #!openUrl = http://boxjs.com/#/app/iRingo.WeatherKit #!author = VirgilClyne[https://github.com/VirgilClyne], WordlessEcho[https://github.com/WordlessEcho] #!homepage = https://github.com/NSRingo -#!manual = https://github.com/NSRingo/WeatherKit/wiki +#!manual = {{@package 'homepage'}} #!icon = https://developer.apple.com/assets/elements/icons/weatherkit/weatherkit-128x128.png #!tag =  iRingo #!system = iOS, iPadOS, tvOS, macOS diff --git a/template/quantumultx.handlebars b/template/quantumultx.handlebars index b25fed5..47cc6c8 100644 --- a/template/quantumultx.handlebars +++ b/template/quantumultx.handlebars @@ -1,5 +1,5 @@ -#!name =  iRingo: 🌤 WeatherKit -#!desc = iOS 18 & macOS 15 & watchOS 11\n1.解锁全部天气功能\n2.替换空气质量数据\n3.添加下一小时降水数据 +#!name = {{@package 'displayName'}} +#!desc = {{inline (@package 'description')}} #!openUrl = http://boxjs.com/#/app/iRingo.WeatherKit #!author = VirgilClyne[https://github.com/VirgilClyne], WordlessEcho[https://github.com/WordlessEcho] #!homepage = https://github.com/NSRingo diff --git a/template/stash.handlebars b/template/stash.handlebars index ac67b60..7848c2f 100644 --- a/template/stash.handlebars +++ b/template/stash.handlebars @@ -1,15 +1,14 @@ -name: " iRingo: 🌤 WeatherKit" +name: "{{@package 'displayName'}}" desc: |- - iOS 18 & macOS 15 & watchOS 11 - 1.解锁全部天气功能 - 2.替换空气质量数据 - 3.添加下一小时降水数据 + {{#each (splitLines (@package 'description'))}} + {{this}} + {{/each}} openUrl: "http://boxjs.com/#/app/iRingo.WeatherKit" author: |- VirgilClyne[https://github.com/VirgilClyne] WordlessEcho[https://github.com/WordlessEcho] homepage: "https://github.com/NSRingo" -manual: "https://github.com/NSRingo/WeatherKit/wiki" +manual: "{{@package 'homepage'}}" icon: "https://developer.apple.com/assets/elements/icons/weatherkit/weatherkit-128x128.png" category: " iRingo" date: "{{now "yyyy-MM-dd HH:mm:ss"}}" diff --git a/template/surge.handlebars b/template/surge.handlebars index e8cf6e9..493f074 100644 --- a/template/surge.handlebars +++ b/template/surge.handlebars @@ -1,9 +1,9 @@ -#!name =  iRingo: 🌤 WeatherKit -#!desc = iOS 18 & macOS 15 & watchOS 11\n1.解锁全部天气功能\n2.替换空气质量数据\n3.添加下一小时降水数据 +#!name = {{@package 'displayName'}} +#!desc = {{inline (@package 'description')}} #!openUrl = http://boxjs.com/#/app/iRingo.WeatherKit #!author = VirgilClyne[https://github.com/VirgilClyne], WordlessEcho[https://github.com/WordlessEcho] #!homepage = https://github.com/NSRingo -#!manual = https://github.com/NSRingo/WeatherKit/wiki +#!manual = {{@package 'homepage'}} #!icon = https://developer.apple.com/assets/elements/icons/weatherkit/weatherkit-128x128.png #!category =  iRingo #!arguments = {{{arguments}}}