Help us shape the future of Go! Take the 2026 Go Developer Survey

ipa

package
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2026 License: AGPL-3.0 Imports: 16 Imported by: 0

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 IPA

type IPA struct {
	// contains filtered or unexported fields
}

func Parse

func Parse(readerAt io.ReaderAt, size int64) (*IPA, error)

func ParseFile

func ParseFile(path string) (*IPA, error)

func (*IPA) Build

func (i *IPA) Build() string

func (*IPA) Channel

func (i *IPA) Channel() string

func (*IPA) Icon

func (i *IPA) Icon() image.Image

func (*IPA) Identifier

func (i *IPA) Identifier() string

func (*IPA) Name

func (i *IPA) Name() string

func (*IPA) Size

func (i *IPA) Size() int64

func (*IPA) Version

func (i *IPA) Version() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL