From 78b95d4bc219a7a22a4f08dd832e22ba3bf67883 Mon Sep 17 00:00:00 2001 From: vcptr <51714622+vcptr@users.noreply.github.com> Date: Tue, 31 Dec 2019 13:39:17 +0800 Subject: [PATCH] fix: default env empty --- common/platform/platform.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }