Skip to content

Commit

Permalink
Merge pull request #148 from xrgzs/feat/add-dotnet-sdk
Browse files Browse the repository at this point in the history
feat: add dotnet-sdk add dotnet-sdk-lts
  • Loading branch information
Cnotech authored Feb 9, 2025
2 parents 631346f + 9172572 commit 48993a4
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 0 deletions.
44 changes: 44 additions & 0 deletions tasks/dotnet-sdk-lts/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#:schema ../../schema/task.json
# 任务基本信息
[task]
name = "dotnet-sdk-lts"
category = "运行环境"
author = "xrgzs"
url = "https://github.com/ScoopInstaller/Versions/blob/master/bucket/dotnet-sdk-lts.json"

# 指定使用的模板
[template]
# scraper = ""
# resolver = ""
producer = "Recursive_Unzip"

# 使用到的正则
[regex]
# download_link = ''
download_name = '\.zip'
# scraper_version = ''

# 通用参数
[parameter]
# resolver_cd = []
# compress_level = 5
build_manifest = ["${taskName}.wcs","${taskName}/dotnet.exe"]
build_cover = "cover"
# build_cover = ""
# build_delete = []

# 爬虫模板临时参数
# [scraper_temp]

# 自动制作模板要求的参数
[producer_required]
shortcutName = "NUL"
sourceFile = "dotnet.exe"
recursiveUnzipList = [ ]


# 额外备注
# [extra]
# require_windows = true
# missing_version = ""
# weekly = true
4 changes: 4 additions & 0 deletions tasks/dotnet-sdk-lts/cover/dotnet-sdk-lts.wcs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
REGI HKCU\Environment\\Path,UserPath
ENVI #Path=%UserPath%;%ProgramFiles%\Edgeless\dotnet-sdk-lts
ENVI #DOTNET_ROOT=%ProgramFiles%\Edgeless\dotnet-sdk-lts
ENVI #MSBuildSDKsPath=%ProgramFiles%\Edgeless\dotnet-sdk-lts
43 changes: 43 additions & 0 deletions tasks/dotnet-sdk/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
#:schema ../../schema/task.json
# 任务基本信息
[task]
name = "dotnet-sdk"
category = "运行环境"
author = "xrgzs"
url = "https://github.com/ScoopInstaller/Main/blob/master/bucket/dotnet-sdk.json"

# 指定使用的模板
[template]
# scraper = ""
# resolver = ""
producer = "Recursive_Unzip"

# 使用到的正则
[regex]
# download_link = ''
download_name = '\.zip'
# scraper_version = ''

# 通用参数
[parameter]
# resolver_cd = []
# compress_level = 5
build_manifest = ["${taskName}.wcs","${taskName}/dotnet.exe"]
build_cover = "cover"
# build_delete = []

# 爬虫模板临时参数
# [scraper_temp]

# 自动制作模板要求的参数
[producer_required]
shortcutName = "NUL"
sourceFile = "dotnet.exe"
recursiveUnzipList = [ ]


# 额外备注
# [extra]
# require_windows = true
# missing_version = ""
# weekly = true
4 changes: 4 additions & 0 deletions tasks/dotnet-sdk/cover/dotnet-sdk.wcs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
REGI HKCU\Environment\\Path,UserPath
ENVI #Path=%UserPath%;%ProgramFiles%\Edgeless\dotnet-sdk
ENVI #DOTNET_ROOT=%ProgramFiles%\Edgeless\dotnet-sdk
ENVI #MSBuildSDKsPath=%ProgramFiles%\Edgeless\dotnet-sdk

0 comments on commit 48993a4

Please sign in to comment.