Newer
Older
GoModules / WindowsShortcutFull / main.go
root on 30 Jan 2022 517 bytes WindowsShortcutFull Go Module Added
package WindowsShortcutFull

// Read the data of shortcut file. `path` can be relative path.
func Read(path string) (Description string, workingDir string, targetPath string, Arguments string, Icon string, err error) {
	return _read(path)
}

// Makes a shortcut file. `from`,`to` can be relative paths
func Make(to string, newDescription string, newWorkingDir string, newTarget string, newArgs string, newIcon string) error {
	return _make(to, newDescription, newWorkingDir, newTarget, newArgs, newIcon)
}