Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInfoPlistNotFound = errors.New("Info.plist not found")
)
Functions ¶
This section is empty.
Types ¶
type InfoPlist ¶
type InfoPlist struct { CFBundleDisplayName string `json:"CFBundleDisplayName,omitempty"` CFBundleExecutable string `json:"CFBundleExecutable,omitempty"` CFBundleIconName string `json:"CFBundleIconName,omitempty"` CFBundleIdentifier string `json:"CFBundleIdentifier,omitempty"` CFBundleName string `json:"CFBundleName,omitempty"` CFBundleShortVersionString string `json:"CFBundleShortVersionString,omitempty"` CFBundleSupportedPlatforms []string `json:"CFBundleSupportedPlatforms,omitempty"` CFBundleVersion string `json:"CFBundleVersion,omitempty"` // not standard Channel string `json:"channel"` }
type InfoPlistIcon ¶
type InfoPlistIcon struct { CFBundlePrimaryIcon struct { CFBundleIconFiles []string `json:"CFBundleIconFiles,omitempty"` CFBundleIconName string `json:"CFBundleIconName,omitempty"` } `json:"CFBundlePrimaryIcon,omitempty"` }
TODO: use InfoPlistIcon to parse icon files
Click to show internal directories.
Click to hide internal directories.