Unverified Commit bfb7a581 authored by iopq's avatar iopq Committed by GitHub
Browse files

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
parent 343dd24e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = {