Skip to content

Commit

Permalink
Release: v0.3.4-alya
Browse files Browse the repository at this point in the history
  • Loading branch information
ikr4-m committed Sep 2, 2024
1 parent 1522232 commit 3ab8650
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/mdrop-client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os"
)

const version string = "v0.3.3-alya"
const version string = "v0.3.4-alya"

const subCmdHelpMeesage string = `
Subcommand:
Expand Down
8 changes: 7 additions & 1 deletion internal/rw_config_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ func init() {
fmt.Println(err)
os.Exit(1)
}
ConfigFileLocation += "/.mdrop"

configLocation := os.Getenv("MDROP_CONFIG")
if configLocation != "" {
ConfigFileLocation = configLocation
} else {
ConfigFileLocation += "/.mdrop"
}
}

func (c ConfigFile) WriteRawConfig(isReplace bool) (conf string, err error) {
Expand Down

0 comments on commit 3ab8650

Please sign in to comment.