V2RayXS icon indicating copy to clipboard operation
V2RayXS copied to clipboard

[Proposal] Do you need to support the function of updating the pac script in V2RayXS?

Open dgulan opened this issue 2 years ago • 5 comments

是否可以增加pac update function? 谢谢。

dgulan avatar Mar 13 '23 01:03 dgulan

https://github.com/Cenmrev/V2RayX/issues/320

根据上面链接,在文件夹添加bash,可以完成手动更新。 by the way,参考第三楼命令行,换成可以去重命令。

done < <(curl -sSfL "${GFWLIST_PATH}" | tr -d '\n' | base64 --decode) 换成可以去重

done < <(curl -sSfL "${GFWLIST_PATH}" | tr -d '\n' | base64 --decode | sort | uniq)

dgulan avatar Mar 13 '23 01:03 dgulan

@dgulan updating the pac script does not seem to be a regular operation. I'm considering whether I need to implement it on the client side. I don't know if other people have this need.

tzmax avatar Apr 02 '23 08:04 tzmax

this issue may be open until it is implemented. If anyone who needs this function can participate in the discussion or give me feedback.

tzmax avatar Apr 02 '23 08:04 tzmax

@dgulan I just committed a copy of the script to the repository, now maybe you can temporarily do your job by executing the following script

curl -sfL https://raw.githubusercontent.com/tzmax/V2RayXS/master/update_pac.sh | bash

tzmax avatar Apr 02 '23 08:04 tzmax

Thank you for your reply. Thank you for your contribution, this software is great.

dgulan avatar Apr 03 '23 07:04 dgulan