proton_bundle

Proton-specific application bundle assembly over proton_package.

proton
bundle
packaging
cef
moon add moonbit-community/proton_bundle@0.2.2
Download zip
Version
0.2.2
License
Apache-2.0
Last updated
3 hours ago
Downloads
43
README

#proton_bundle

proton_bundle adapts an already-built Proton application to the generic proton_package library. It resolves the immutable CEF runtime embedded in its lockstep proton_cefsetup dependency, stages the matching cef_process executable, writes Proton metadata, and describes the platform-specific signing layout.

The module does not inspect a MoonBit project or run a build. Callers provide a complete proton_package.PackageSpec, the matching helper executable, and the additional Proton payload inputs. build returns both the produced artifacts and the platform of the resolved runtime so callers do not need to query the CEF store independently.

#
BundleResult

pub struct BundleResult {
artifacts : Array[String]
platform : String
}

#
BundleResult::artifacts

fn BundleResult::artifacts(self : BundleResult) -> Array[String]

#
BundleResult::platform

fn BundleResult::platform(self : BundleResult) -> String

#
ProtonBundleSpec

pub struct ProtonBundleSpec {
package_spec :
PackageSpec

cef_process : String
base_dir : String
update_revision : UInt64
frontend_dist : String?
resources : Array[String]
sign_binaries : Array[String]
}

Complete input for assembling an already-built Proton application bundle.

The executable in package_spec and cef_process must come from the same Proton release. Project payloads are resolved beneath base_dir.

#
ProtonBundleSpec::ProtonBundleSpec

fn ProtonBundleSpec::ProtonBundleSpec(package_spec :
PackageSpec
, cef_process : String, base_dir : String, frontend_dist : String?, update_revision? : UInt64, resources? : Array[String], sign_binaries? : Array[String]) -> ProtonBundleSpec

#
build

async fn build(spec : ProtonBundleSpec) -> BundleResult

Packages an already-built Proton application using the active immutable runtime installation.

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io