pkg

package
v0.0.0-...-0ff58f4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2015 License: Unlicense Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pkg

type Pkg struct {
	Url          string
	Bin          string
	Dependencies []string
}

func New

func New(version string, nwOs string, nwArch string) Pkg

func (Pkg) Download

func (p Pkg) Download(destDir string) (string, error)

Download retrieves the Url into the passed directory. If destDir=="" then TempDir is used. The file path is returned upon completion

func (Pkg) Package

func (p Pkg) Package(nodeWebkitPath string, nw io.Reader, binName string, destDir string) error

Package wraps populates destDir with the node-webkit depedencies and cat nw.exe [nw content] > binName

Jump to

Keyboard shortcuts

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