mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
bun(-baseline): Merge manifests (#5680)
This commit is contained in:
parent
352cee39c5
commit
2fcc91144e
@ -1,38 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "1.1.0",
|
|
||||||
"description": "Incredibly fast JavaScript runtime, bundler, transpiler and package manager - all in one. (Baseline build)",
|
|
||||||
"homepage": "https://bun.sh/",
|
|
||||||
"license": "MIT",
|
|
||||||
"suggest": {
|
|
||||||
"vcredist": "extras/vcredist2022"
|
|
||||||
},
|
|
||||||
"architecture": {
|
|
||||||
"64bit": {
|
|
||||||
"url": "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-windows-x64-baseline.zip",
|
|
||||||
"hash": "b4e1e0051a18bc6d104a4990e9abfa9b802d1ecd4d52752c6c9154e17bf987cb"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"extract_dir": "bun-windows-x64-baseline",
|
|
||||||
"bin": [
|
|
||||||
"bun.exe",
|
|
||||||
[
|
|
||||||
"bun.exe",
|
|
||||||
"bunx",
|
|
||||||
"x"
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"checkver": {
|
|
||||||
"github": "https://github.com/oven-sh/bun",
|
|
||||||
"re": "bun-v([\\d.]+)"
|
|
||||||
},
|
|
||||||
"autoupdate": {
|
|
||||||
"architecture": {
|
|
||||||
"64bit": {
|
|
||||||
"url": "https://github.com/oven-sh/bun/releases/download/bun-v$version/bun-windows-x64-baseline.zip"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"hash": {
|
|
||||||
"url": "$baseurl/SHASUMS256.txt"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -8,8 +8,14 @@
|
|||||||
},
|
},
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": "https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-windows-x64.zip",
|
"url": [
|
||||||
"hash": "60e9291d09657ab315bcc6bc07cbf67d2e9b9b18c21bb7cf9ce2d9fa983c9719"
|
"https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-windows-x64.zip",
|
||||||
|
"https://github.com/oven-sh/bun/releases/download/bun-v1.1.0/bun-windows-x64-baseline.zip"
|
||||||
|
],
|
||||||
|
"hash": [
|
||||||
|
"60e9291d09657ab315bcc6bc07cbf67d2e9b9b18c21bb7cf9ce2d9fa983c9719",
|
||||||
|
"b4e1e0051a18bc6d104a4990e9abfa9b802d1ecd4d52752c6c9154e17bf987cb"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pre_install": [
|
"pre_install": [
|
||||||
@ -17,12 +23,13 @@
|
|||||||
" Add-Type -MemberDefinition '[DllImport(\"kernel32.dll\")] public static extern bool IsProcessorFeaturePresent(int ProcessorFeature);' -Name Kernel32 -Namespace Win32",
|
" Add-Type -MemberDefinition '[DllImport(\"kernel32.dll\")] public static extern bool IsProcessorFeaturePresent(int ProcessorFeature);' -Name Kernel32 -Namespace Win32",
|
||||||
" return [Win32.Kernel32]::IsProcessorFeaturePresent(40)",
|
" return [Win32.Kernel32]::IsProcessorFeaturePresent(40)",
|
||||||
"} | Receive-Job -Wait -AutoRemoveJob",
|
"} | Receive-Job -Wait -AutoRemoveJob",
|
||||||
|
"$target = 'bun-windows-x64'",
|
||||||
"if (-not $avx2) {",
|
"if (-not $avx2) {",
|
||||||
" Write-Host -Foreground Red \"This CPU does not support the AVX2 instruction set. Please install 'bun-baseline' instead.\"",
|
" $target += '-baseline'",
|
||||||
" break",
|
"}",
|
||||||
"}"
|
"Move-Item \"$dir\\$target\\bun.exe\" \"$dir\\bun.exe\"",
|
||||||
|
"Remove-Item \"$dir\\bun-windows-*\" -Recurse"
|
||||||
],
|
],
|
||||||
"extract_dir": "bun-windows-x64",
|
|
||||||
"bin": [
|
"bin": [
|
||||||
"bun.exe",
|
"bun.exe",
|
||||||
[
|
[
|
||||||
@ -38,7 +45,10 @@
|
|||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": "https://github.com/oven-sh/bun/releases/download/bun-v$version/bun-windows-x64.zip"
|
"url": [
|
||||||
|
"https://github.com/oven-sh/bun/releases/download/bun-v$version/bun-windows-x64.zip",
|
||||||
|
"https://github.com/oven-sh/bun/releases/download/bun-v$version/bun-windows-x64-baseline.zip"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hash": {
|
"hash": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user