diff --git a/cmd/add.go b/cmd/add.go index 530c302..0db6a55 100644 --- a/cmd/add.go +++ b/cmd/add.go @@ -51,7 +51,7 @@ func addProjectActually(project *Project) { func addProject(project *Project) { //the environment variable is stored in a variable in order to create and find the path.json file in the directory where the app is located filEnv := os.Getenv("gproject") - _, errs := os.OpenFile(filEnv+"/path.json", os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600) + _, errs := os.OpenFile(filEnv+"\\path.json", os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600) if errs != nil { panic(errs) } diff --git a/gproject.exe b/gproject.exe new file mode 100644 index 0000000..92cd588 Binary files /dev/null and b/gproject.exe differ