zipsfx

package module
v0.0.0-...-5acdc2c Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: MIT Imports: 7 Imported by: 0

README

Go zipsfx (Self Extracting Archive)

zipsfx is Go package that allows creating Self Extracting Archive (sfx) for Windows.

Usage

This package provides a bundler which append an archive into an sfx bootstrapper.

package main

import (
	"github.com/codeyourweb/zipsfx"
)

func main() {

    // BuildSFX("inputFolder", "windows-cmd-to-execute-after-unzipping-folder", "output-sfx-executable-name")
	err := zipsfx.BuildSFX("myFolder/", "my-binary.exe", "my-sfx-package.exe")
	if err != nil {
		panic(err)
	}
}

SFX bootstrapper

This package relies on Winrar zip sfx in order to provide a basic self extracting archive library

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSFX

func BuildSFX(inputDirectory string, executeCommand string, outputSfxExe string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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