Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppImage ¶
type AppImage struct {
//InternalFiles is a slice containing the names of ALL the AppImage's files. Backed by a C array.
InternalFiles []string
// contains filtered or unexported fields
}
AppImage is the representation of an AppImage. You must call Free() once your done to manually free up the C variables. It's recommended to defer Free() immediately after declaring so you don't forget.
func NewAppImage ¶
NewAppImage creates a new AppImage tied to location.
func (*AppImage) ExtractDesktop ¶ added in v0.3.0
ExtractDesktop extracts the desktop file to extractLocation. Requires initialization.
func (*AppImage) ExtractFile ¶
ExtractFile extracts the file at location to extractLocation. File should be found in AppImage.InternalFiles.
func (*AppImage) Free ¶ added in v0.3.0
func (a *AppImage) Free()
Free manually frees memory alocated to AppImage's C variables.
func (*AppImage) Initialize ¶ added in v0.3.0
func (a *AppImage) Initialize()
Initialize is a long process that allows some AppImage functions to work. Takes a long time.
Click to show internal directories.
Click to hide internal directories.