utils

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempQRCode added in v1.0.0

func CreateTempQRCode(content string, size int) (string, error)

func DownloadPakArchive

func DownloadPakArchive(pak models.Pak) (tempFile string, completed bool, error error)

func DownloadTempFile

func DownloadTempFile(url string) (string, error)

func FetchStorefront

func FetchStorefront() (models.Storefront, error)

func GetEmulatorRoot added in v1.0.5

func GetEmulatorRoot() string

func GetSDRoot added in v1.2.0

func GetSDRoot() string

func GetToolRoot added in v1.0.5

func GetToolRoot() string

func IsConnectedToInternet added in v1.0.2

func IsConnectedToInternet() bool

func ParseJSONFile added in v0.2.0

func ParseJSONFile(filePath string, out *models.Pak) error

func RunScript added in v1.0.2

func RunScript(script models.Script, scriptName string) error

func ShouldIgnoreFile added in v0.2.0

func ShouldIgnoreFile(filePath string, pak models.Pak) bool

func Unzip

func Unzip(src, dest string, pak models.Pak, isUpdate bool) error

func UnzipPakArchive added in v1.0.0

func UnzipPakArchive(pak models.Pak, tmp string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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