Documentation ¶
Index ¶
- func AppDir() string
- func CreatePathWrapper(name, appimgpath string) error
- func DesktopFilePath(ai *appimage.AppImage) string
- func FindImageById(id appimage.AppImageID) (path string, found bool, err error)
- func FindImageByName(name string) (path string, found bool, err error)
- func IconPath(ai *appimage.AppImage) string
- func Install(appImagePath, optionalNewPath string) (newPath string, err error)
- func Integrate(appimgPath string) (err error)
- func IsIntegrated(ai *appimage.AppImage) bool
- func IsPathWrapper(path string) bool
- func List() (list []string, nNotAppImage int)
- func MoveToApplications(appImagePath string, newPath string, replace bool) (retNewPath string, err error)
- func RemovePathWrapper(name string) error
- func Unintegrate(appimgPath string) error
- func Upgrade(appImagePath, optionalNewPath string) (newPath string, err error)
- type PathWrapperEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePathWrapper ¶
creates a shell script that wraps the AppImage in path
func DesktopFilePath ¶
func FindImageById ¶
func FindImageById(id appimage.AppImageID) (path string, found bool, err error)
func FindImageByName ¶
FindImageByName scans images for the name the user deals with case insensitive
func Install ¶
Install installs the AppImage specified at appImagePath. the original file is left untouched. Optionally optionalNewPath may specify where. If an empty string is supplied, the new path will be figure out automatically
func IsIntegrated ¶
func IsPathWrapper ¶
func MoveToApplications ¶
func MoveToApplications(appImagePath string, newPath string, replace bool) (retNewPath string, err error)
newPath may be an empty string, in that case MoveToApplications will decide this itself
func RemovePathWrapper ¶
checks if file is a path wrapper and deletes it if so
func Unintegrate ¶
Types ¶
type PathWrapperEntry ¶
func ListPathWrappers ¶
func ListPathWrappers() (paths []PathWrapperEntry)
func PathWrappersForAppImage ¶
func PathWrappersForAppImage(path string) []PathWrapperEntry
Click to show internal directories.
Click to hide internal directories.