oui.lib
Oui.Info_plist
type value =
| String of string
| Bool of bool
| Dict of (string * value) list
| Array of value list
type t = (string * value) list
val make : (string * value) list -> t
Create a generic plist from key-value pairs.
val add_entry : string -> value -> t -> t
Add or update an entry in the plist.
val 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.
add_entry
val to_xml : t -> string
Serialize plist to XML format.
val save : t -> OpamFilename.t -> unit
Write plist to file.