imagemounter

package
v1.0.98 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadImageFor

func DownloadImageFor(device ios.DeviceEntry, baseDir string) (string, error)

func FixDevImage added in v1.0.38

func FixDevImage(device ios.DeviceEntry, baseDir string) error

FixDevImage checks if a dev image is already installed and does nothing in that case. Otherwise it looks for the image for the device version in baseDir. If it is not present it will download it from github and install.

func MatchAvailable added in v1.0.38

func MatchAvailable(version string) string

func MountImage added in v1.0.38

func MountImage(device ios.DeviceEntry, path string) error

Types

type Connection

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

Connection to mobile image mounter

func New

func New(device ios.DeviceEntry) (*Connection, error)

New returns a new mobile image mounter Connection for the given DeviceID and Udid

func (*Connection) Close

func (conn *Connection) Close()

Close closes the underlying UsbMuxConnection

func (*Connection) ListImages

func (conn *Connection) ListImages() ([][]byte, error)

ListImages returns a list with signatures of installed developer images

func (*Connection) MountImage

func (conn *Connection) MountImage(imagePath string) error

MountImage installs a .dmg image from imagePath after checking that it is present and valid.

Jump to

Keyboard shortcuts

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