package oui
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A tool that builds standalone installers for your OCaml applications
Install
dune-project
Dependency
Authors
Maintainers
Sources
oui-0.1.0.tbz
sha256=b806a63c9acd581a00729a48f1faf86b294cc82936fc705fc628a20ede33f977
sha512=e61c35a6e08671634c1edabd7b0add926ac6e0c6c43c9e0a095e89efab7696b6ae5cc1ea0844283a80640c19adb36478bdfb2414bbcab5077ceb7fd16ae45e66
doc/src/oui.lib/codesign.ml.html
Source file codesign.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61(**************************************************************************) (* *) (* Copyright 2025 OCamlPro *) (* *) (* All rights reserved. This file is distributed under the terms of the *) (* GNU Lesser General Public License version 2.1, with the special *) (* exception on linking described in the file LICENSE. *) (* *) (**************************************************************************) type signing_identity = | AdHoc | DeveloperID of string type sign_options = { force : bool; timestamp : bool; entitlements : string option; } let default_sign_options = { force = false; timestamp = false; entitlements = None; } let sign_binary ?(options=default_sign_options) ~identity binary = try let identity_str = match identity with | AdHoc -> "-" | DeveloperID cert_name -> cert_name in let args : System.codesign_args = { binary; identity = identity_str; force = options.force; timestamp = options.timestamp; entitlements = options.entitlements; } in System.call_unit System.Codesign args with System.System_error e -> OpamConsole.warning "codesign failed: %s" e let sign_binary_adhoc ?(force=true) binary = let options = { default_sign_options with force } in sign_binary ~options ~identity:AdHoc binary let sign_binary_with_dev_id ?(force=true) ?(timestamp=true) ~cert_name binary = let options = { default_sign_options with force; timestamp } in sign_binary ~options ~identity:(DeveloperID cert_name) binary let verify_signature binary = try let args : System.codesign_verify_args = { binary; verbose = false; } in System.call_unit System.CodesignVerify args; true with System.System_error _ -> false
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>