visage

package module
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: OSL-3.0 Imports: 11 Imported by: 0

README

Visage

So let’s embark on a new journey together. Let’s break out a map. Not the old, out-of-date one that shows where we’ve been, but a crisp new one that shows where we might go. Let’s embark on a new journey together and see where it takes us.

Leslie Knope

Visual Studio

https://visualstudio.microsoft.com/downloads

Included in the project is also a database driver for MSI files.

Documentation

Index

Constants

View Source
const WingetURL = "https://codeload.github.com" +
	"/microsoft/winget-pkgs/tar.gz/refs/heads/master"

Variables

View Source
var Packages = []Package{
	{
		ID: "Microsoft.VisualC.140.CRT.Headers.Msi",
		Payloads: []Payload{

			{Filename: "VC_CRT.Headers.msi"},
		},
	}, {
		ID: "Microsoft.VisualC.140.CRT.x64.Desktop.Msi",
		Payloads: []Payload{

			{Filename: "VC_CRT.X64.Desktop.msi"},
		},
	}, {
		ID: "Microsoft.VisualC.140.CRT.x64.Store.Msi",
		Payloads: []Payload{

			{Filename: "VC_CRT.X64.Store.msi"},
		},
	}, {
		ID: "Microsoft.VisualCpp.Tools.HostX64.TargetX64",
		Payloads: []Payload{

			{Filename: "Microsoft.VisualCpp.Tools.HostX64.TargetX64.vsix"},
		},
	}, {
		ID: "Microsoft.VisualCpp.Tools.HostX64.TargetX64.Resources",
		Payloads: []Payload{

			{Filename: "Microsoft.VisualCpp.Tools.HostX64.TargetX64.Resources.enu.vsix"},
		},
	}, {
		ID: "Win10SDK_10.0.19041",
		Payloads: []Payload{

			{Filename: "Universal CRT Headers Libraries and Sources-x86_en-us.msi"},

			{Filename: "Windows SDK Desktop Headers x86-x86_en-us.msi"},

			{Filename: "Windows SDK Desktop Libs x64-x86_en-us.msi"},

			{Filename: "Windows SDK for Windows Store Apps Headers-x86_en-us.msi"},

			{Filename: "Windows SDK for Windows Store Apps Libs-x86_en-us.msi"},

			{Filename: "Windows SDK for Windows Store Apps Tools-x86_en-us.msi"},
		},
	},
}
View Source
var Patterns = []string{
	`Contents\VC\Tools\MSVC\*\bin\Hostx64\x64\nmake.exe`,
	`Program Files\Microsoft Visual Studio *\VC\include\excpt.h`,
	`Program Files\Microsoft Visual Studio *\VC\lib\amd64\msvcrt.lib`,
	`Windows Kits\10\Include\*\shared\winapifamily.h`,
	`Windows Kits\10\Include\*\ucrt\ctype.h`,
	`Windows Kits\10\Include\*\um\WS2tcpip.h`,
	`Windows Kits\10\Lib\*\ucrt\x64\ucrt.lib`,
	`Windows Kits\10\Lib\*\um\x64\WS2_32.Lib`,
	`Windows Kits\10\bin\*\x64\rc.exe`,
}

Functions

This section is empty.

Types

type Archive added in v1.1.6

type Archive struct {
	Strip int
}

func (Archive) Zip added in v1.1.6

func (a Archive) Zip(source, dest string) error

type ChannelMan added in v1.0.5

type ChannelMan struct {
	ChannelItems []struct {
		Payloads []struct {
			URL string
		}
	}
}

func NewChannelMan added in v1.0.5

func NewChannelMan(name string) (ChannelMan, error)

func (ChannelMan) VisualStudioURL added in v1.0.5

func (c ChannelMan) VisualStudioURL() string

type Package added in v1.0.6

type Package struct {
	ID string
	// "", "neutral", "en-US"
	Language string
	Payloads []Payload
}

type Payload added in v1.0.6

type Payload struct {
	Filename string
	URL      string
}

type VisualStudioMan added in v1.0.5

type VisualStudioMan struct {
	Packages []Package
}

func NewVisualStudioMan added in v1.0.5

func NewVisualStudioMan(name string) (VisualStudioMan, error)

func (VisualStudioMan) PayloadURL added in v1.0.9

func (m VisualStudioMan) PayloadURL(pack, payload string) (string, error)

type WinGet added in v1.0.7

type WinGet struct {
	fstest.MapFS
}

func NewWinGet added in v1.0.7

func NewWinGet(name string) (WinGet, error)

func (WinGet) ChannelURI added in v1.1.0

func (w WinGet) ChannelURI() (string, error)

Directories

Path Synopsis
cmd
Database SQL driver
Database SQL driver

Jump to

Keyboard shortcuts

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