ScoopInstaller_Main/bucket/kotlin-native.json
2025-10-23 12:31:28 +00:00

48 lines
1.8 KiB
JSON

{
"version": "2.2.21",
"description": "An LLVM backend for the Kotlin compiler, runtime implementation, and native code generation facility using the LLVM toolchain for native binaries runnable without a virtual machine.",
"homepage": "https://kotlinlang.org",
"license": "Apache-2.0",
"notes": "Please keep in mind that this is still marked as an experimental feature!",
"suggest": {
"Kotlin": "kotlin"
},
"architecture": {
"64bit": {
"url": "https://github.com/JetBrains/kotlin/releases/download/v2.2.21/kotlin-native-prebuilt-windows-x86_64-2.2.21.zip",
"hash": "14ec6aa8c0704e707bfd17541ca5709dca6bf242458ed9a7af8f82e304f077a0"
}
},
"pre_install": [
"# Manually extract because archive name and directory name sometimes does not match.",
"# e.g. archive is named 'kotlin-native-prebuilt-windows-x86_64-$version', but contains folder 'kotlin-native-prebuilt-windows-x86_64-$version'",
"$subdir = \"$dir\\kotlin-native-prebuilt-windows-x86_64-$version\"",
"Move-Item \"$subdir\\*\" \"$dir\\\"",
"Remove-Item $subdir -Force -Recurse"
],
"bin": [
"bin\\cinterop.bat",
"bin\\jsinterop.bat",
"bin\\klib.bat",
"bin\\konanc.bat",
"bin\\generate-platform.bat",
"bin\\kotlinc-native.bat",
"bin\\run_konan.bat"
],
"env_add_path": "bin",
"checkver": {
"url": "https://api.github.com/repositories/3432266/releases/latest",
"regex": "windows-x86_64-([\\w.\\-]+)\\.zip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/JetBrains/kotlin/releases/download/v$matchHead/kotlin-native-prebuilt-windows-x86_64-$version.zip"
}
},
"hash": {
"url": "$url.sha256"
}
}
}