-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from xrgzs/feat/add-runningcheese
feat: add RunningCheese Browsers
- Loading branch information
Showing
4 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Ok, Result } from "ts-results"; | ||
import { ScraperReturned } from "../../src/class"; | ||
|
||
export default async function (): Promise<Result<ScraperReturned, string>> { | ||
// YOUR CODE HERE | ||
|
||
return new Ok({ | ||
version: "0.0.0", | ||
downloadLink: "https://www.lanzouo.com/b0ufru1i", | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Ok, Result } from "ts-results"; | ||
import { ScraperReturned } from "../../src/class"; | ||
|
||
export default async function (): Promise<Result<ScraperReturned, string>> { | ||
// YOUR CODE HERE | ||
|
||
return new Ok({ | ||
version: "0.0.0", | ||
downloadLink: "https://www.lanzouo.com/b0ufrtlc", | ||
}); | ||
} |