Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- func CenterWindow(mw *walk.FormBase)
- func CopySelf(installDir string) (string, error)
- func CreateShortcut(settings ShortcutSettings) error
- func CreateUninstallRegistryEntry(cli cl.CLI, installDir string, version string) error
- func GetModuleFileName(hprocess syscall.Handle) (string, error)
- func GetRegistryInstallDir(cli cl.CLI) (string, error)
- func KillAll(pathsToKill []string) error
- func LoadImage(filePath string) walk.Image
- func RectangleFromRECT(r win.RECT) walk.Rectangle
- func RemoveUninstallerRegistryKey(cli cl.CLI) error
- func SetInstallerImage(cli cl.CLI, imageView *walk.ImageView)
- type DWORDValue
- type Folders
- type ShortcutSettings
- type StringValue
Constants ¶
View Source
const RegDateFormat = "20060102"
RegDateFormat is the format in which installed time should be stored in the registry, as a format string suitable for time.Format()
Variables ¶
This section is empty.
Functions ¶
func CenterWindow ¶
func CreateShortcut ¶
func CreateShortcut(settings ShortcutSettings) error
CreateShortcut creates a windows shortcut with the given settings
func CreateUninstallRegistryEntry ¶
CreateUninstallRegistryEntry creates all registry entries required to have the app show up in Add or Remove software and be uninstalled by the user
Types ¶
type DWORDValue ¶
type Folders ¶
func GetFolders ¶
type ShortcutSettings ¶
type StringValue ¶
Click to show internal directories.
Click to hide internal directories.