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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user