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