mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-13 15:46:22 +00:00
feat: ship bun runtime with binary signing (#391)
* feat: add bun binary signing for macOS and Windows Register the bun runtime binary in the code signing pipelines so it gets properly signed and notarized alongside browseros_server and codex. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * feat: add bun runtime download and copy resource configs Add bun binary entries for all platform/arch combos (macOS arm64/x64, Linux arm64/x64, Windows x64) to download from R2 and copy into the Chromium build output alongside browseros_server. Also adds the server bundle (index.js) download and copy entries. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -123,3 +123,45 @@ copy_operations:
|
||||
type: "file"
|
||||
os: ["windows"]
|
||||
arch: ["x64"]
|
||||
|
||||
# Bun Runtime - Platform & Architecture specific
|
||||
- name: "Bun Runtime - macOS ARM64"
|
||||
source: "resources/binaries/bun/bun-darwin-arm64"
|
||||
destination: "chrome/browser/browseros/server/resources/bin/bun"
|
||||
type: "file"
|
||||
os: ["macos"]
|
||||
arch: ["arm64"]
|
||||
|
||||
- name: "Bun Runtime - macOS x64"
|
||||
source: "resources/binaries/bun/bun-darwin-x64"
|
||||
destination: "chrome/browser/browseros/server/resources/bin/bun"
|
||||
type: "file"
|
||||
os: ["macos"]
|
||||
arch: ["x64"]
|
||||
|
||||
- name: "Bun Runtime - Linux ARM64"
|
||||
source: "resources/binaries/bun/bun-linux-arm64"
|
||||
destination: "chrome/browser/browseros/server/resources/bin/bun"
|
||||
type: "file"
|
||||
os: ["linux"]
|
||||
arch: ["arm64"]
|
||||
|
||||
- name: "Bun Runtime - Linux x64"
|
||||
source: "resources/binaries/bun/bun-linux-x64"
|
||||
destination: "chrome/browser/browseros/server/resources/bin/bun"
|
||||
type: "file"
|
||||
os: ["linux"]
|
||||
arch: ["x64"]
|
||||
|
||||
- name: "Bun Runtime - Windows x64"
|
||||
source: "resources/binaries/bun/bun-windows-x64.exe"
|
||||
destination: "chrome/browser/browseros/server/resources/bin/bun.exe"
|
||||
type: "file"
|
||||
os: ["windows"]
|
||||
arch: ["x64"]
|
||||
|
||||
# BrowserOS Server Bundle (platform-independent)
|
||||
- name: "BrowserOS Server Bundle"
|
||||
source: "resources/binaries/browseros_server/index.js"
|
||||
destination: "chrome/browser/browseros/server/resources/index.js"
|
||||
type: "file"
|
||||
|
||||
@@ -62,3 +62,43 @@ download_operations:
|
||||
destination: "resources/binaries/browseros_server/browseros-server-windows-x64.exe"
|
||||
os: ["windows"]
|
||||
arch: ["x64"]
|
||||
|
||||
# Bun Runtime - Platform & Architecture specific
|
||||
- name: "Bun Runtime - macOS ARM64"
|
||||
r2_key: "binaries/bun/bun-darwin-arm64"
|
||||
destination: "resources/binaries/bun/bun-darwin-arm64"
|
||||
os: ["macos"]
|
||||
arch: ["arm64"]
|
||||
executable: true
|
||||
|
||||
- name: "Bun Runtime - macOS x64"
|
||||
r2_key: "binaries/bun/bun-darwin-x64"
|
||||
destination: "resources/binaries/bun/bun-darwin-x64"
|
||||
os: ["macos"]
|
||||
arch: ["x64"]
|
||||
executable: true
|
||||
|
||||
- name: "Bun Runtime - Linux ARM64"
|
||||
r2_key: "binaries/bun/bun-linux-arm64"
|
||||
destination: "resources/binaries/bun/bun-linux-arm64"
|
||||
os: ["linux"]
|
||||
arch: ["arm64"]
|
||||
executable: true
|
||||
|
||||
- name: "Bun Runtime - Linux x64"
|
||||
r2_key: "binaries/bun/bun-linux-x64"
|
||||
destination: "resources/binaries/bun/bun-linux-x64"
|
||||
os: ["linux"]
|
||||
arch: ["x64"]
|
||||
executable: true
|
||||
|
||||
- name: "Bun Runtime - Windows x64"
|
||||
r2_key: "binaries/bun/bun-windows-x64.exe"
|
||||
destination: "resources/binaries/bun/bun-windows-x64.exe"
|
||||
os: ["windows"]
|
||||
arch: ["x64"]
|
||||
|
||||
# BrowserOS Server Bundle (platform-independent)
|
||||
- name: "BrowserOS Server Bundle"
|
||||
r2_key: "binaries/browseros-server/index.js"
|
||||
destination: "resources/binaries/browseros_server/index.js"
|
||||
|
||||
5
packages/browseros/build/modules/sign/macos.py
generated
5
packages/browseros/build/modules/sign/macos.py
generated
@@ -34,6 +34,11 @@ BROWSEROS_SERVER_BINARIES: Dict[str, Dict[str, str]] = {
|
||||
"options": "runtime",
|
||||
"entitlements": "browseros-executable-entitlements.plist",
|
||||
},
|
||||
"bun": {
|
||||
"identifier_suffix": "bun",
|
||||
"options": "runtime",
|
||||
"entitlements": "browseros-executable-entitlements.plist",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
1
packages/browseros/build/modules/sign/windows.py
generated
1
packages/browseros/build/modules/sign/windows.py
generated
@@ -19,6 +19,7 @@ from ...common.utils import (
|
||||
BROWSEROS_SERVER_BINARIES: List[str] = [
|
||||
"browseros_server.exe",
|
||||
"codex.exe",
|
||||
"bun.exe",
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user