Categorygithub.com/itchio/dash
modulepackage
0.0.0-20221120052447-7320435e1835
Repository: https://github.com/itchio/dash.git
Documentation: pkg.go.dev

# README

dash

build status codecov Go Report Card GoDoc MIT licensed

dash "configures" a folder, which means it looks at its contents and determines interesting launch targets such as:

  • Native Windows, Linux & macOS executables
  • HTML index files
  • .jar files, .love files, etc.

License

Licensed under MIT License, see LICENSE for details.

# Functions

Configure walks a directory and finds potential launch candidates, grouped together into a verdict.
FixPermissions makes sure all ELF executables, COFF executables, and scripts have the executable bit set.
cf.
No description provided by the author

# Constants

32-bit.
64-bit.
FlavorAppMacos denotes a macOS app bundle.
FlavorHTML denotes an index html file.
FlavorJar denotes a .jar archive with a Main-Class.
FlavorLove denotes a love package.
Microsoft installer packages.
FlavorNativeLinux denotes native linux executables.
ExecNativeMacos denotes native macOS executables.
FlavorPe denotes native windows executables.
FlavorScript denotes scripts starting with a shebang (#!).
FlavorScriptWindows denotes windows scripts (.bat or .cmd).
No description provided by the author
No description provided by the author
Self-extracting installers that 7-zip knows how to extract.
InnoSetup installers.
Microsoft install packages (`.msi` files).
NSIS installers.

# Structs

No description provided by the author
A Candidate is a potentially interesting launch target, be it a native executable, a Java or Love2D bundle, an HTML index, etc.
ConfigureParams controls the behavior of Configure.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Contains information specific to Java archives.
Contains information specific to native Linux executables.
Contains information specific to Love2D bundles.
Contains information specific to native macOS executables or app bundles.
No description provided by the author
No description provided by the author
Contains information specific to shell scripts.
A Verdict contains a wealth of information on how to "launch" or "open" a specific folder.
No description provided by the author
Contains information specific to native windows executables or installer packages.

# Interfaces

No description provided by the author

# Type aliases

The architecture of an executable.
Flavor describes whether we're dealing with a native executables, a Java archive, a love2d bundle, etc.
No description provided by the author
Which particular type of windows-specific installer.