mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
parent
fdf8104172
commit
a7832ad198
@ -21,7 +21,8 @@
|
|||||||
],
|
],
|
||||||
"env_add_path": "bin",
|
"env_add_path": "bin",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/JetBrains/kotlin"
|
"url": "https://kotlinlang.org/releases.html",
|
||||||
|
"regex": ">([\\d.]+)</strong"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": "https://github.com/JetBrains/kotlin/releases/download/v$version/kotlin-native-prebuilt-windows-$version.zip",
|
"url": "https://github.com/JetBrains/kotlin/releases/download/v$version/kotlin-native-prebuilt-windows-$version.zip",
|
||||||
|
|||||||
@ -3,6 +3,12 @@
|
|||||||
"description": "A cross-platform, statically typed, general-purpose programming language with type inference.",
|
"description": "A cross-platform, statically typed, general-purpose programming language with type inference.",
|
||||||
"homepage": "https://kotlinlang.org/",
|
"homepage": "https://kotlinlang.org/",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
"suggest": {
|
||||||
|
"JDK": [
|
||||||
|
"java/oraclejdk",
|
||||||
|
"java/openjdk"
|
||||||
|
]
|
||||||
|
},
|
||||||
"url": "https://github.com/JetBrains/kotlin/releases/download/v1.4.21/kotlin-compiler-1.4.21.zip",
|
"url": "https://github.com/JetBrains/kotlin/releases/download/v1.4.21/kotlin-compiler-1.4.21.zip",
|
||||||
"hash": "46720991a716e90bfc0cf3f2c81b2bd735c14f4ea6a5064c488e04fd76e6b6c7",
|
"hash": "46720991a716e90bfc0cf3f2c81b2bd735c14f4ea6a5064c488e04fd76e6b6c7",
|
||||||
"extract_dir": "kotlinc",
|
"extract_dir": "kotlinc",
|
||||||
@ -15,14 +21,9 @@
|
|||||||
"env_set": {
|
"env_set": {
|
||||||
"KOTLIN_HOME": "$dir"
|
"KOTLIN_HOME": "$dir"
|
||||||
},
|
},
|
||||||
"suggest": {
|
|
||||||
"JDK": [
|
|
||||||
"java/oraclejdk",
|
|
||||||
"java/openjdk"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/JetBrains/kotlin"
|
"url": "https://kotlinlang.org/releases.html",
|
||||||
|
"regex": ">([\\d.]+)</strong"
|
||||||
},
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"url": "https://github.com/JetBrains/kotlin/releases/download/v$version/kotlin-compiler-$version.zip"
|
"url": "https://github.com/JetBrains/kotlin/releases/download/v$version/kotlin-compiler-$version.zip"
|
||||||
|
|||||||
@ -1,16 +1,17 @@
|
|||||||
{
|
{
|
||||||
"version": "2020-Jun-08",
|
"version": "2.52",
|
||||||
"description": "Object file converter and dissassembler",
|
"description": "Object file converter and dissassembler",
|
||||||
"homepage": "https://www.agner.org/optimize/#objconv",
|
"homepage": "https://www.agner.org/optimize/#objconv",
|
||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"url": "https://www.agner.org/optimize/objconv.zip",
|
"architecture": {
|
||||||
"checkver": "File\\s*name.{0,32}?objconv\\.zip,\\s*size:\\s*[0-9]+,\\s*last\\s*modified:\\s*(2[0-9]{3}-...-[0-9]{2})",
|
"64bit": {
|
||||||
"hash": "1BFD417D73A9BEB7EBDCFC986B5607D5966BE2F7F376FEF86B7BE3ED4F3E2164",
|
"url": "https://www.agner.org/optimize/objconv.zip#/dl.7z",
|
||||||
"bin": "objconv.exe",
|
"hash": "1bfd417d73a9beb7ebdcfc986b5607d5966be2f7f376fef86b7be3ed4f3e2164"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pre_install": [
|
"pre_install": [
|
||||||
"Get-ChildItem $dir -Filter objconv.exe -Recurse | select -first 1 | % { Move-Item $_.FullName -Destination $dir; Remove-Item $_.FullName.Replace($dir,'').Split('\\')[1] -Recurse }"
|
"Move-Item \"$dir\\C_\\_Public\\objconv\\x64\\Release\\objconv.exe\" \"$dir\"",
|
||||||
|
"Get-ChildItem \"$dir\" -Exclude 'objconv.exe' | Remove-Item -Recurse"
|
||||||
],
|
],
|
||||||
"autoupdate": {
|
"bin": "objconv.exe"
|
||||||
"url": "https://www.agner.org/optimize/objconv.zip"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user