app

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AndroidAPKInfosRegex = regexp.MustCompile(`package: name='([a-zA-Z0-9._-]+)' versionCode='([a-zA-Z0-9._-]+)' versionName='([a-zA-Z0-9._/-]+)'.*`)
	//  compileSdkVersion='(.*)' compileSdkVersionCodename='(.*)' <- TODO check if we can it also on older adb versions
	LaunchActivityRegex = regexp.MustCompile(`launchable-activity:\s+name='([a-zA-Z0-9._-]+)'\s+label='(.*)'\sicon='.*'`)
)

Functions

func NewAnalyser

func NewAnalyser(appPath string) *analyser

func Unzip added in v1.0.0

func Unzip(src string, dest string) ([]string, error)

Types

type AndroidParams added in v1.0.0

type AndroidParams struct {
	LaunchActivity string
}

type AppParams added in v1.0.0

type AppParams struct {
	AppBinaryID uint
	AppPath     string
	Additional  string
	Hash        string
	Size        int
	Android     *AndroidParams
	Executable  *ExecutableParams
}

type ExecutableParams added in v1.0.0

type ExecutableParams struct {
	Executable string
}

type Parameter

type Parameter struct {
	Platform   string
	Identifier string
	Name       string
	Version    string
	App        *AppParams
	Web        *WebParams
}

type WebParams added in v1.0.0

type WebParams struct {
	StartURL string
}

Jump to

Keyboard shortcuts

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