Categorygithub.com/touchifyapp/sfx
repository
1.0.2
Repository: https://github.com/touchifyapp/sfx.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

sfx (Self Extracting Archive) Build Status

sfx 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.

$ copy sfx.exe dest/myprogram.exe
$ bundler.exe -exe dest/myprogram.exe -dir myarchivedir -compress 9 -id myprogramid

SFX bootstrappers

This package provides two SFX bootstrappers:

  • sfx.exe: Silent SFX boostrapper
  • sfxv.exe: Verbose SFX bootstrapper

Bundler options

Run bundler -h to print usage help :

OptionTypeDescription
-argsstringarguments to pass to executable
-compressintThe program to run in the project directory.
-deststringThe absolute destination path to extract project in (default: temp).
-dirstringThe directory to bundle into sfx. (default "project")
-exestringThe program to bundle the project in. (default "sfx.exe")
-idstringThe unique ID for this package. (default "co.touchify.sfx")
-runstringThe program to run in the project directory (default: auto-detect).
-vbooleanEnable program output.
-versionstringThe program version to check for updates. (default 1.0.0)

License

MIT

Changelog

  • 1.0.0: Initial release
  • 1.0.1:
    • Append Microsoft Windows File Properties/Version Info to sfx.exe and sfxv.exe using goversioninfo.
    • This allows File Properties/Version Info modification via tools like rcedit.