xray: fix GUI compatibility

While the package itself will look for assets in both folders, ./xray and ./v2ray the GUIs don't always support this, so since we use the v2ray-assets we should also set the V2RAY_LOCATION_ASSET variable to hint them to look at the ./v2ray folder
This commit is contained in:
iopq
2023-04-09 16:19:45 +08:00
committed by GitHub
parent 343dd24e92
commit bfb7a581c8
+1 -1
View File
@@ -51,7 +51,7 @@ buildGoModule rec {
postFixup = ''
wrapProgram $out/bin/xray \
--suffix XRAY_LOCATION_ASSET : $assetsDrv/share/v2ray
--suffix V2RAY_LOCATION_ASSET : $assetsDrv/share/v2ray
'';
passthru = {