Documentation
¶
Index ¶
- type AppBundle
- type AppInfo
- type ApplicationIdentifierRequest
- type Browse
- type Client
- func (c *Client) Archive(bundleId string, progressCb ProgressFunc) error
- func (c *Client) Browse() (any, error)
- func (c *Client) Close() error
- func (c *Client) CopyAndInstall(pkgPath string, progressCb ProgressFunc) error
- func (c *Client) Install(packagePath string, progressCb ProgressFunc) error
- func (c *Client) InstalledApps() ([]AppInfo, error)
- func (c *Client) Lookup() (map[string]*AppBundle, error)
- func (c *Client) LookupArchives() error
- func (c *Client) LookupContainer(bundleId string) (string, error)
- func (c *Client) LookupDisplayName(bundleId string) (string, error)
- func (c *Client) LookupExePath(bundleId string) (string, error)
- func (c *Client) LookupRaw(keys ...string) (map[string]any, error)
- func (c *Client) RemoveArchive(bundleId string, progressCb ProgressFunc) error
- func (c *Client) RestoreArchive(bundleId string, progressCb ProgressFunc) error
- func (c *Client) Uninstall(bundleId string, progressCb ProgressFunc) error
- func (c *Client) Upgrade(packagePath string, progressCb ProgressFunc) error
- type ClientOptions
- type Command
- type InstallOrUpgradeRequest
- type Lookup
- type LookupArchivesRequest
- type LookupResult
- type ProgressEvent
- type ProgressFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppBundle ¶
type AppBundle struct {
ApplicationType string `plist:"ApplicationType"`
BuildMachineOSBuild string `plist:"BuildMachineOSBuild"`
CFBundleDisplayName string `plist:"CFBundleDisplayName"`
CFBundleExecutable string `plist:"CFBundleExecutable"`
CFBundleIcons struct {
CFBundleAlternateIcons map[string]*struct {
CFBundleIconFiles []string `plist:"CFBundleIconFiles"`
UIPrerenderedIcon any `plist:"UIPrerenderedIcon"`
}
} `plist:"CFBundleIcons"`
CFBundleIdentifier string `plist:"CFBundleIdentifier"`
CFBundleInfoDictionaryVersion string `plist:"CFBundleInfoDictionaryVersion"`
CFBundleName string `plist:"CFBundleName"`
CFBundleNumericVersion int `plist:"CFBundleNumericVersion"`
CFBundlePackageType string `plist:"CFBundlePackageType"`
CFBundleShortVersionString string `plist:"CFBundleShortVersionString"`
CFBundleSupportedPlatforms []string `plist:"CFBundleSupportedPlatforms"`
CFBundleURLTypes []*struct {
CFBundleURLSchemes []string `plist:"CFBundleURLSchemes"`
CFBundleTypeRole string `plist:"CFBundleTypeRole,omitempty"`
} `plist:"CFBundleURLTypes"`
CFBundleVersion string `plist:"CFBundleVersion"`
Container string `plist:"Container"`
DTAppStoreToolsBuild string `plist:"DTAppStoreToolsBuild"`
DTCompiler string `plist:"DTCompiler"`
DTPlatformBuild string `plist:"DTPlatformBuild"`
DTPlatformName string `plist:"DTPlatformName"`
DTPlatformVersion string `plist:"DTPlatformVersion"`
DTSDKBuild string `plist:"DTSDKBuild"`
DTSDKName string `plist:"DTSDKName"`
DTXcode string `plist:"DTXcode"`
DTXcodeBuild string `plist:"DTXcodeBuild"`
Entitlements map[string]any `plist:"Entitlements"`
EnvironmentVariables map[string]string `plist:"EnvironmentVariables"`
GroupContainers map[string]string `plist:"GroupContainers"`
ITSAppUsesNonExemptEncryption any `plist:"ITSAppUsesNonExemptEncryption"`
IsDemotedApp bool `plist:"IsDemotedApp"`
IsUpgradeable bool `plist:"IsUpgradeable"`
LSApplicationQueriesSchemes any `plist:"LSApplicationQueriesSchemes"`
LSRequiresIPhoneOS bool `plist:"LSRequiresIPhoneOS"`
MinimumOSVersion string `plist:"MinimumOSVersion"`
NSUserActivityTypes any `plist:"NSUserActivityTypes"`
ParallelPlaceholderPath bool `plist:"ParallelPlaceholderPath"`
Path string `plist:"Path"`
ProfileValidated bool `plist:"ProfileValidated"`
SequenceNumber int `plist:"SequenceNumber"`
SignerIdentity string `plist:"SignerIdentity"`
UIAppFonts []string `plist:"UIAppFonts"`
UIBackgroundModes []string `plist:"UIBackgroundModes"`
UIDeviceFamily []int `plist:"UIDeviceFamily"`
UILaunchStoryboardName string `plist:"UILaunchStoryboardName"`
UIRequiredDeviceCapabilities []string `plist:"UIRequiredDeviceCapabilities"`
UIStatusBarHidden bool `plist:"UIStatusBarHidden"`
UIStatusBarStyle string `plist:"UIStatusBarStyle"`
UISupportedDevices []string `plist:"UISupportedDevices"`
UISupportedInterfaceOrientations []string `plist:"UISupportedInterfaceOrientations"`
UIViewControllerBasedStatusBarAppearance any `plist:"UIViewControllerBasedStatusBarAppearance,omitempty"`
}
func AppBundleFromAppBundle ¶
func AppBundleFromIPA ¶
type AppInfo ¶
type AppInfo struct {
ApplicationDSID int
ApplicationType string
CFBundleDisplayName string
CFBundleExecutable string
CFBundleIdentifier string
CFBundleName string
CFBundleShortVersionString string
CFBundleVersion string
Container string
Entitlements map[string]any
EnvironmentVariables map[string]any
MinimumOSVersion string
Path string
ProfileValidated bool
SBAppTags []string
SignerIdentity string
UIDeviceFamily []int
UIRequiredDeviceCapabilities []string
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CopyAndInstall ¶
func (c *Client) CopyAndInstall(pkgPath string, progressCb ProgressFunc) error
func (*Client) Install ¶
func (c *Client) Install(packagePath string, progressCb ProgressFunc) error
func (*Client) InstalledApps ¶
func (*Client) LookupArchives ¶
func (*Client) LookupDisplayName ¶
func (*Client) RemoveArchive ¶
func (c *Client) RemoveArchive(bundleId string, progressCb ProgressFunc) error
func (*Client) RestoreArchive ¶
func (c *Client) RestoreArchive(bundleId string, progressCb ProgressFunc) error
type ClientOptions ¶
type ClientOptions struct {
ReturnAttributes []string `plist:"ReturnAttributes,omitempty"`
}
type Command ¶
type Command struct {
Command string `plist:"Command"`
ClientOptions *ClientOptions `plist:"ClientOptions,omitempty"`
}
func NewCommand ¶
type InstallOrUpgradeRequest ¶
type LookupArchivesRequest ¶
type LookupArchivesRequest struct {
Command
}
type LookupResult ¶
type ProgressEvent ¶
type ProgressFunc ¶
type ProgressFunc func(*ProgressEvent)
Click to show internal directories.
Click to hide internal directories.