mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-20 16:26:23 -05:00
Add /opt to assets location (#715)
This commit is contained in:
parent
9fd5cdd8a8
commit
d2a4e6bc47
@ -30,6 +30,7 @@ func GetAssetLocation(file string) string {
|
||||
defPath,
|
||||
filepath.Join("/usr/local/share/v2ray/", file),
|
||||
filepath.Join("/usr/share/v2ray/", file),
|
||||
filepath.Join("/opt/share/v2ray/", file),
|
||||
} {
|
||||
if _, err := os.Stat(p); os.IsNotExist(err) {
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user