gdk

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: GPL-3.0, LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventDownloadStatus   = "gdk_download_status"
	EventDownloadProgress = "gdk_download_progress"
	EventDownloadDone     = "gdk_download_done"
	EventDownloadError    = "gdk_download_error"
	EventInstallStart     = "gdk_install_start"
	EventInstallDone      = "gdk_install_done"
	EventInstallError     = "gdk_install_error"
)

Variables

This section is empty.

Functions

func CancelDownload added in v0.0.21

func CancelDownload()

func InstallFromZip

func InstallFromZip(ctx context.Context, zipPath string) string

func IsInstalled

func IsInstalled() bool

func RegisterVersionFolder

func RegisterVersionFolder(folder string) string

func StartDownload

func StartDownload(ctx context.Context, url string) string

func UnregisterIfExists

func UnregisterIfExists(isPreview bool) string

func UnregisterVersionFolder

func UnregisterVersionFolder(folder string) string

func WdappExists

func WdappExists() bool

Types

type DownloadProgress

type DownloadProgress struct {
	Downloaded int64
	Total      int64
	Dest       string
}

Jump to

Keyboard shortcuts

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