package oui

  1. Overview
  2. Docs
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/oui.lib/Oui/Info_plist/index.html

Module Oui.Info_plistSource

Sourcetype value =
  1. | String of string
  2. | Bool of bool
  3. | Dict of (string * value) list
  4. | Array of value list
Sourcetype t = (string * value) list
Sourceval make : (string * value) list -> t

Create a generic plist from key-value pairs.

Sourceval add_entry : string -> value -> t -> t

Add or update an entry in the plist.

Sourceval make_info_plist : bundle_id:string -> executable:string -> name:string -> display_name:string -> version:string -> t

Create a standard Info.plist for a macOS app bundle. Use add_entry to add custom keys like CFBundleIconFile.

Sourceval to_xml : t -> string

Serialize plist to XML format.

Sourceval save : t -> OpamFilename.t -> unit

Write plist to file.