consts

package
v2.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DownloadVersionURL = domain + "/api/cmd/edv"
	DownloadInstallURL = domain + "/api/cmd/install"
	DownloadExtractURL = domain + "/api/cmd/extract"
	CheckUpgradeURL    = domain + "/api/cmd/upgrade"
	CheckCreateURL     = domain + "/api/cmd/create"
	LatestVersionURL   = domain + "/api/upgrade/latest/version"
)
View Source
const (
	// GolangDownloadURL 下载地址, 默认 GolangDefaultVersion
	// https://golang.google.cn/dl/go1.18.10.darwin-amd64.tar.gz
	// https://golang.google.cn/dl/go1.18.10.darwin-arm64.tar.gz
	// https://golang.google.cn/dl/go1.18.10.linux-amd64.tar.gz
	// https://golang.google.cn/dl/go1.18.10.linux-arm64.tar.gz
	// https://golang.google.cn/dl/go1.18.10.windows-386.zip
	// https://golang.google.cn/dl/go1.18.10.windows-amd64.zip
	// https://golang.google.cn/dl/go1.18.10.windows-arm64.zip
	// https://golang.google.cn
	GolangDownloadSource = "https://golang.google.cn"
	CEFDownloadSource    = "https://cef-builds.spotifycdn.com/"
	GolangDownloadURL    = "%s/dl/%s"
	GolangDefaultVersion = "1.19.13"
	GolanHomeKey         = "GOROOT"
)
View Source
const (
	// NSISDownloadURL 下载地址,默认 3.09
	// https://gitee.com/energye/assets/releases/download/environment/nsis.windows.386-3.09.zip
	NSISDownloadURL     = "https://gitee.com/energye/assets/releases/download/environment/%s"
	NSISDownloadVersion = "3.09"
	NSISHomeKey         = "NSIS_HOME"

	// NSIS7z
	// https://gitee.com/energye/assets/releases/download/environment/nsis7z.windows.386-19.00.zip
	NSIS7zDownloadURL     = "https://gitee.com/energye/assets/releases/download/environment/%s"
	NSIS7zDownloadVersion = "19.00"
)
View Source
const (
	// https://gitee.com/energye/assets/releases/download/environment/7za.windows.all-2301.zip
	Z7ZDownloadURL     = "https://gitee.com/energye/assets/releases/download/environment/%s"
	Z7ZDownloadVersion = "2301"
	Z7ZHomeKey         = "Z7Z_HOME"
)
View Source
const (
	CefKey              = "cef"
	LiblclKey           = "liblcl"
	FrameworkCache      = "EnergyFrameworkDownloadCache"
	EnergyHomeKey       = "ENERGY_HOME"
	EnergyProjectConfig = "energy.json"
)
View Source
const (
	IsWindows = runtime.GOOS == "windows" //support
	IsLinux   = runtime.GOOS == "linux"   //support
	IsDarwin  = runtime.GOOS == "darwin"  //support
	IsAMD64   = runtime.GOARCH == "amd64"
	IsARM64   = runtime.GOARCH == "arm64"
	Is386     = runtime.GOARCH == "386"
)
View Source
const (
	CefEmpty = ""
	Cef109   = "109" // CEF 109.1.18
	Cef106   = "106" // CEF 106.1.1
	Cef87    = "87"  // CEF 87.1.14
)
View Source
const (
	Windows64      = "Windows64"
	Windows32      = "Windows32"
	WindowsARM64   = "WindowsARM64"
	MacOSX64       = "MacOSX64"
	MacOSARM64     = "MacOSARM64"
	Linux64        = "Linux64"
	Linux64GTK2    = "Linux64GTK2"
	Linux64GTK3    = "Linux64GTK3"
	LinuxARM64     = "LinuxARM64"
	LinuxARM64GTK2 = "LinuxARM64GTK2"
	LinuxARM64GTK3 = "LinuxARM64GTK3"
)
View Source
const (
	ENERGY = "energy"
)
View Source
const (
	UPXHomeKey = "UPX_HOME"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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