diff --git a/common/platform/platform.go b/common/platform/platform.go index 9e74ec22a..6ccd97620 100644 --- a/common/platform/platform.go +++ b/common/platform/platform.go @@ -86,6 +86,6 @@ func GetConfigurationPath() string { func GetConfDirPath() string { const name = "v2ray.location.confdir" - configPath := NewEnvFlag(name).GetValue(getExecutableDir) + configPath := NewEnvFlag(name).GetValue(func() string { return "" }) return configPath }