From 8864195b501e3e71303c9e3d1b0a5b3b3e9ed4de Mon Sep 17 00:00:00 2001
From: Jinqiu Yu <yujinqiuustb@gmail.com>
Date: Thu, 8 Mar 2018 17:32:36 +0800
Subject: [PATCH] Fix executable typo

---
 common/platform/platform.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/platform/platform.go b/common/platform/platform.go
index 16d146045..96fa7103a 100644
--- a/common/platform/platform.go
+++ b/common/platform/platform.go
@@ -53,7 +53,7 @@ func getExecutableDir() string {
 	return filepath.Dir(exec)
 }
 
-func getExecuableSubDir(dir string) func() string {
+func getExecutableSubDir(dir string) func() string {
 	return func() string {
 		return filepath.Join(getExecutableDir(), dir)
 	}
@@ -67,7 +67,7 @@ func GetAssetLocation(file string) string {
 
 func GetPluginDirectory() string {
 	const name = "v2ray.location.plugin"
-	pluginDir := EnvFlag{Name: name, AltName: NormalizeEnvName(name)}.GetValue(getExecuableSubDir("plugins"))
+	pluginDir := EnvFlag{Name: name, AltName: NormalizeEnvName(name)}.GetValue(getExecutableSubDir("plugins"))
 	return pluginDir
 }