mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-12 07:19:01 -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,
|
defPath,
|
||||||
filepath.Join("/usr/local/share/v2ray/", file),
|
filepath.Join("/usr/local/share/v2ray/", file),
|
||||||
filepath.Join("/usr/share/v2ray/", file),
|
filepath.Join("/usr/share/v2ray/", file),
|
||||||
|
filepath.Join("/opt/share/v2ray/", file),
|
||||||
} {
|
} {
|
||||||
if _, err := os.Stat(p); os.IsNotExist(err) {
|
if _, err := os.Stat(p); os.IsNotExist(err) {
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user