Test pressence of config json file.

This commit is contained in:
Gabriel Simmer 2022-03-19 13:33:32 +00:00
parent fd4cb338cc
commit 4964e4e0f4

View file

@ -20,7 +20,7 @@ func main() {
// Check if this is the first time Pogo has been run
// with a lockfile
if _, err := os.Stat("assets"); os.IsNotExist(err) {
if _, err := os.Stat("assets/config/config.json"); os.IsNotExist(err) {
fmt.Println("This looks like your first time running Pogo, give me a second to set myself up.")
Setup()
}