util

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 License: LGPL-2.1 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForLauncher

func CheckForLauncher()

func DecompJRE

func DecompJRE(version string)

Decompile the JRE

func DecompLauncher

func DecompLauncher()

Decompiles the Launcher

func DecompLzma

func DecompLzma(archive, target string)

Decompile a LZMA file

func DownloadFromUrl

func DownloadFromUrl(url string, path string)

func GenericMojangJavaLauncher

func GenericMojangJavaLauncher(target string) ([]byte, error)

* Launches the mojang jre * target: the target jar * args: the jar args *

func GenericSysJavaLauncher

func GenericSysJavaLauncher(target string) ([]byte, error)

* Launches with system jre * target: the target jar * args: the jar args *

func GetJREVersion

func GetJREVersion() string

func GetJreInfo

func GetJreInfo() (string, string, string, string)

func GetLauncherUrl

func GetLauncherUrl() string

func GetSysArch added in v0.0.4

func GetSysArch() string

func GetThisPlatform

func GetThisPlatform() string

func IsJavaInstalled

func IsJavaInstalled() bool

func IsJavaVersionValid

func IsJavaVersionValid() bool

* Check for java 8

func IsValidArch

func IsValidArch() bool

func IsValidPlatFrom

func IsValidPlatFrom() bool

func ModedLauncher

func ModedLauncher()

* Launches either the wrapper or an appended jar

func StringFromWebJson

func StringFromWebJson(url string) string

func Wrapper

func Wrapper(jar string) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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