Documentation
¶
Overview ¶
Package publish hands a built mod to a provider: hyperline.gg, an archive players unpack and run, or a GitHub release that holds the archive.
Index ¶
Constants ¶
View Source
const DefaultOrigin = "https://hyperline.gg"
DefaultOrigin is the service modlock publish uses by default.
Variables ¶
This section is empty.
Functions ¶
func Archive ¶
Archive writes a zip players unpack and run on Windows: Play.cmd, the command line of release version, and mod under mod/, in one folder named for the mod. It returns the archive's path in dir.
Types ¶
type Hyperline ¶
type Hyperline struct {
// Origin is the service, such as DefaultOrigin.
Origin string
// SessionFile holds the saved sign-in, readable only by the creator.
SessionFile string
// Output receives the sign-in instructions.
Output io.Writer
}
Hyperline publishes to hyperline.gg or another service with its API.
Click to show internal directories.
Click to hide internal directories.