Newer
Older
GoModules / WindowsShortcutFull / main.go
root on 30 Jan 2022 517 bytes WindowsShortcutFull Go Module Added
  1. package WindowsShortcutFull
  2.  
  3. // Read the data of shortcut file. `path` can be relative path.
  4. func Read(path string) (Description string, workingDir string, targetPath string, Arguments string, Icon string, err error) {
  5. return _read(path)
  6. }
  7.  
  8. // Makes a shortcut file. `from`,`to` can be relative paths
  9. func Make(to string, newDescription string, newWorkingDir string, newTarget string, newArgs string, newIcon string) error {
  10. return _make(to, newDescription, newWorkingDir, newTarget, newArgs, newIcon)
  11. }
Buy Me A Coffee