diff --git a/main.go b/main.go index 2938b51e..c1498d8f 100644 --- a/main.go +++ b/main.go @@ -90,7 +90,7 @@ func main() { bin := viper.Get("bin") // read custom binary location if binPath == defaultBin && bin != nil { // if the bin path is the same as the default binary path and if the custom binary is provided in the toml file (use it) - binPath = bin.(string) + binPath = os.ExpandEnv(bin.(string)) } version := viper.Get("version") //attempt to get the version if it's provided in the toml