diff --git a/tasks/RunningCheeseChrome/config.toml b/tasks/RunningCheeseChrome/config.toml new file mode 100644 index 0000000..e35ab59 --- /dev/null +++ b/tasks/RunningCheeseChrome/config.toml @@ -0,0 +1,43 @@ +#:schema ../../schema/task.json +# 任务基本信息 +[task] +name = "RunningCheeseChrome" +category = "浏览器" +author = "xrgzs" +url = "https://www.runningcheese.com/chrome" + +# 指定使用的模板 +[template] +scraper = "External" +# resolver = "" +producer = "Recursive_Unzip" + +# 使用到的正则 +[regex] +# download_link = '' +download_name = 'RunningCheeseChrome\.7z' +# scraper_version = '' + +# 通用参数 +[parameter] +# resolver_cd = [] +# compress_level = 5 +build_manifest = ["${taskName}.wcs","${taskName}/App/chrome.exe"] +# build_cover = "" +# build_delete = [] + +# 爬虫模板临时参数 +# [scraper_temp] + +# 自动制作模板要求的参数 +[producer_required] +shortcutName = "RunningCheeseChrome" +sourceFile = "App\\chrome.exe" +recursiveUnzipList = [ ] + + +# 额外备注 +[extra] +# require_windows = true +missing_version = "${taskName}/App/chrome.exe" +weekly = true diff --git a/tasks/RunningCheeseChrome/scraper.ts b/tasks/RunningCheeseChrome/scraper.ts new file mode 100644 index 0000000..eb6b0ea --- /dev/null +++ b/tasks/RunningCheeseChrome/scraper.ts @@ -0,0 +1,11 @@ +import { Ok, Result } from "ts-results"; +import { ScraperReturned } from "../../src/class"; + +export default async function (): Promise> { + // YOUR CODE HERE + + return new Ok({ + version: "0.0.0", + downloadLink: "https://www.lanzouo.com/b0ufru1i", + }); +} diff --git a/tasks/RunningCheeseFirefox/config.toml b/tasks/RunningCheeseFirefox/config.toml new file mode 100644 index 0000000..04861c6 --- /dev/null +++ b/tasks/RunningCheeseFirefox/config.toml @@ -0,0 +1,43 @@ +#:schema ../../schema/task.json +# 任务基本信息 +[task] +name = "RunningCheeseFirefox" +category = "浏览器" +author = "xrgzs" +url = "https://www.runningcheese.com/firefox" + +# 指定使用的模板 +[template] +scraper = "External" +# resolver = "" +producer = "Recursive_Unzip" + +# 使用到的正则 +[regex] +# download_link = '' +download_name = 'RunningCheeseFirefox\.7z' +# scraper_version = '' + +# 通用参数 +[parameter] +# resolver_cd = [] +# compress_level = 5 +build_manifest = ["${taskName}.wcs","${taskName}/Firefox/firefox.exe"] +# build_cover = "" +# build_delete = [] + +# 爬虫模板临时参数 +# [scraper_temp] + +# 自动制作模板要求的参数 +[producer_required] +shortcutName = "RunningCheeseFirefox" +sourceFile = "Firefox\\firefox.exe" +recursiveUnzipList = [ ] + + +# 额外备注 +[extra] +# require_windows = true +missing_version = "${taskName}/Firefox/firefox.exe" +weekly = true diff --git a/tasks/RunningCheeseFirefox/scraper.ts b/tasks/RunningCheeseFirefox/scraper.ts new file mode 100644 index 0000000..e0b1e61 --- /dev/null +++ b/tasks/RunningCheeseFirefox/scraper.ts @@ -0,0 +1,11 @@ +import { Ok, Result } from "ts-results"; +import { ScraperReturned } from "../../src/class"; + +export default async function (): Promise> { + // YOUR CODE HERE + + return new Ok({ + version: "0.0.0", + downloadLink: "https://www.lanzouo.com/b0ufrtlc", + }); +}