We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6149a81 commit c3c4343Copy full SHA for c3c4343
bucket/bun.json
@@ -12,6 +12,12 @@
12
"hash": "60e9291d09657ab315bcc6bc07cbf67d2e9b9b18c21bb7cf9ce2d9fa983c9719"
13
}
14
},
15
+ "pre_install": [
16
+ "if (-not (Add-Type -MemberDefinition '[DllImport(\"kernel32.dll\")] public static extern bool IsProcessorFeaturePresent(int ProcessorFeature);'-Name 'Kernel32'-Namespace 'Win32'-PassThru)::IsProcessorFeaturePresent(40)) {",
17
+ " Write-Host -Foreground Red \"This CPU does not support AVX2 instructions. please install 'bun-baseline' instead.\"",
18
+ " break",
19
+ "}"
20
+ ],
21
"extract_dir": "bun-windows-x64",
22
"bin": [
23
"bun.exe",
0 commit comments