func UserSwitcherPathGet() string { path, err := getmodule.GetModuleDirName() if err != nil { fmt.Println("Failed to get installed dir.", err) return "." } path = filepath.Join(path, "pacificauploaderuserswitcher.exe") log.Printf("UserdPathGet returning %s", path) return path }
func UuidgenPathGet() string { path, err := getmodule.GetModuleDirName() if err != nil { fmt.Println("Failed to get installed dir.", err) return "." } path = filepath.Join(path, "uuidgen.exe") log.Printf("UuidgenPathGet returning %s", path) return path }
func UiDirGet() string { path, err := getmodule.GetModuleDirName() if err != nil { fmt.Println("Failed to get installed dir.", err) return "." } if Devel { path = filepath.Join(path, "..\\go\\src\\pacificauploaderd") } path = filepath.Join(path, "UI") log.Printf("UiDirGet returning %s", path) return path }