mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-29 16:58:34 +00:00
parent
800b3bd3fe
commit
9ad26fa049
10 changed files with 14 additions and 14 deletions
|
@ -22,7 +22,7 @@ func GetToolLocation(file string) string {
|
|||
return filepath.Join(toolPath, file)
|
||||
}
|
||||
|
||||
// GetAssetLocation search for `file` in certain locations
|
||||
// GetAssetLocation searches for `file` in certain locations
|
||||
func GetAssetLocation(file string) string {
|
||||
const name = "xray.location.asset"
|
||||
assetPath := NewEnvFlag(name).GetValue(getExecutableDir)
|
||||
|
|
|
@ -20,7 +20,7 @@ func GetToolLocation(file string) string {
|
|||
return filepath.Join(toolPath, file+".exe")
|
||||
}
|
||||
|
||||
// GetAssetLocation search for `file` in the excutable dir
|
||||
// GetAssetLocation searches for `file` in the excutable dir
|
||||
func GetAssetLocation(file string) string {
|
||||
const name = "xray.location.asset"
|
||||
assetPath := NewEnvFlag(name).GetValue(getExecutableDir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue