electron

package
v1.11.6-0...-ccb1896 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureCommand

func ConfigureCommand(app *kingpin.Application)

func ConfigureUnpackCommand

func ConfigureUnpackCommand(app *kingpin.Application)

func UnpackElectron

func UnpackElectron(configs []ElectronDownloadOptions, outputDir string, distMacOsAppName string, isReDownloadOnFileReadError bool) error

Types

type ElectronDownloadOptions

type ElectronDownloadOptions struct {
	Version  string `json:"version"`
	CacheDir string `json:"cache"`
	Mirror   string `json:"mirror"`

	Platform string `json:"platform"`
	Arch     string `json:"arch"`

	CustomDir      string `json:"customDir"`
	CustomFilename string `json:"customFilename"`
}

type ElectronDownloader

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

func (*ElectronDownloader) Download

func (t *ElectronDownloader) Download() (string, error)

Jump to

Keyboard shortcuts

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