Using relative output path
This commit is contained in:
parent
d7f0a68b08
commit
ef8f0436dd
|
@ -15,7 +15,7 @@ import (
|
|||
|
||||
var AllowedProviders = [...]string{"steam"}
|
||||
|
||||
const OutputPath string = "~/Developer/games-screenshot-manager/Output"
|
||||
const OutputPath string = "./Output/"
|
||||
|
||||
func main() {
|
||||
Start()
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
)
|
||||
|
||||
func ExpandUser(providedPath string) string {
|
||||
var path string
|
||||
var path string = providedPath
|
||||
usr, _ := user.Current()
|
||||
dir := usr.HomeDir
|
||||
|
||||
|
|
Loading…
Reference in New Issue