diff --git a/pkg/cli/cli.go b/pkg/cli/cli.go index 97fec5d..3b57a85 100644 --- a/pkg/cli/cli.go +++ b/pkg/cli/cli.go @@ -15,7 +15,7 @@ import ( var AllowedProviders = [...]string{"steam"} -const OutputPath string = "~/Developer/games-screenshot-manager/Output" +const OutputPath string = "./Output/" func main() { Start() diff --git a/pkg/helpers/dir.go b/pkg/helpers/dir.go index e9c8fe2..c8f7f0a 100644 --- a/pkg/helpers/dir.go +++ b/pkg/helpers/dir.go @@ -7,7 +7,7 @@ import ( ) func ExpandUser(providedPath string) string { - var path string + var path string = providedPath usr, _ := user.Current() dir := usr.HomeDir