Using relative output path

This commit is contained in:
Felipe Martin 2020-11-08 21:31:31 +01:00
parent d7f0a68b08
commit ef8f0436dd
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import (
var AllowedProviders = [...]string{"steam"}
const OutputPath string = "~/Developer/games-screenshot-manager/Output"
const OutputPath string = "./Output/"
func main() {
Start()

View File

@ -7,7 +7,7 @@ import (
)
func ExpandUser(providedPath string) string {
var path string
var path string = providedPath
usr, _ := user.Current()
dir := usr.HomeDir