Commit Graph

265 Commits (c3fa5d1217312665191af495156d681632e2163d)

Author SHA1 Message Date
IceCodeNew 825b71ca25 Use centos7.0 as runtime image so as to ...
challenge the shell script in the most knotty environment that we are willing to provide support.
2020-09-24 23:07:46 +08:00
IceCodeNew 51ded6c2c8 Run field test as root 2020-09-24 23:06:00 +08:00
IceCodeNew 6837b8a8a5 Introduce `filed-test` 2020-09-24 23:05:39 +08:00
IceCodeNew 2569058459
Ignore `README` & `LICENSE` 2020-09-24 21:52:43 +08:00
IceCodeNew a2ed4a9c56 Merge remote-tracking branch 'upstream/develop' into upstream_master 2020-09-24 21:46:57 +08:00
IceCodeNew ae9e64ff83 remove all the fancy but unnecessary args, as compatibility values most.
https://github.com/v2fly/fhs-install-v2ray/issues/132#issuecomment-698350955
2020-09-24 21:46:12 +08:00
IceCodeNew 2cf0c90b01 create function `curl`, instead of alias `curl`
Try to fix #132.
> `-q`: Disable .curlrc
> `-L`: Follow redirects
> `--false-start`: Enable TLS False Start
> `--http2`: Use HTTP 2
> `--tlsv1.2`: Use TLSv1.2 or greater
2020-09-24 21:40:16 +08:00
IceCodeNew 3e27de40f0
Merge pull request #131 from v2fly/develop 2020-09-24 16:43:04 +08:00
IceCodeNew b990f89b6e `shfmt -i 2 -ci -sr install-release.sh` 2020-09-24 16:40:26 +08:00
IceCodeNew 5c0bfb6532 Retry when transient error occurred 2020-09-24 15:38:59 +08:00
IceCodeNew 098244b343 Show download progress.
Fix #128.
2020-09-24 15:30:01 +08:00
IceCodeNew 012d9beeeb Merge remote-tracking branch 'upstream/develop' into upstream_master 2020-09-22 22:15:40 +08:00
ricuhkaen 99255e5281
typos in file path upon new config file(s) creation (#127)
when new config.json gets created, the prompt should be "installed: /usr/local/etc/v2ray/config.json" instead of "installed: /usr/local/etc/v2rayconfig.json". (and similar typos for confdir)
2020-09-22 22:01:34 +08:00
IceCodeNew a02a434fd8 Merge remote-tracking branch 'upstream/develop' into upstream_master 2020-09-21 16:43:36 +08:00
sunshineplan 4163816e8b Fix check proxy address (#125) 2020-09-21 16:40:19 +08:00
IceCodeNew 3e49d5b2cb 精简 README
我希望精简后的 README 能有更多人看到最后。
这样可以减少 PR 直接发往 master 分支,或者提问其实可以参考 README 自行解决的情况。
2020-09-21 16:40:19 +08:00
wind2008hxy aa6e6fb260
add support for archlinux package managers 2020-09-21 16:11:06 +08:00
IceCodeNew fd00a5a2ab
Update sh-checker.yml 2020-09-20 01:33:48 +08:00
IceCodeNew 38987a8e86
Merge pull request #120 from v2fly/develop
bug fix for $114
2020-09-20 01:30:47 +08:00
IceCodeNew cbcaf9c5c1 bug fix for $114
我 是 傻 逼
2020-09-20 01:27:54 +08:00
IceCodeNew b4197dd807
Merge pull request #116 from v2fly/develop 2020-09-20 00:39:48 +08:00
IceCodeNew f0eacd1ca5 `shfmt -i 2 -ci` 2020-09-20 00:35:30 +08:00
IceCodeNew e7e9e9a47d Create sh-checker.yml 2020-09-20 00:14:02 +08:00
IceCodeNew 3a14bbd46f Emit some colored notice. 2020-09-19 22:28:54 +08:00
IceCodeNew 6773934fa7 fix shell warning 2020-09-19 21:53:49 +08:00
IceCodeNew d4fe43b7c9 Create drop-in configurations for systemd unit files 2020-09-19 21:21:34 +08:00
东方有鱼名为咸 4a4f52a68c add user-agent (#111)
Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2020-09-19 19:06:28 +08:00
IceCodeNew bc77ec4255 Merge remote-tracking branch 'upstream/develop' into HEAD 2020-09-19 19:05:03 +08:00
xiagw cbf08bdb26 fix function get_versionchange to if -n,reduce indent 2020-09-19 19:02:29 +08:00
xiagw f607e17837 fix1: fix function judgment_parameters (#104)
Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2020-09-19 19:02:28 +08:00
xiagw b5ee8e46f1
fix: fix install-dat-release.sh check sum256 (#93)
Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2020-09-19 16:53:20 +08:00
xiagw d41ead065b
fix2: fix function install_software (#105) 2020-09-19 16:28:36 +08:00
IceCodeNew a9498beff0
Merge pull request #108 from xiagw/install-release-fix5
fix5: fix function start_v2ray
2020-09-19 16:11:42 +08:00
IceCodeNew bd79b270d3
Merge pull request #106 from xiagw/install-release-fix3 2020-09-17 22:38:56 +08:00
xiagw ea2fc97a31
fix5: fix function start_v2ray 2020-09-17 17:49:20 +07:00
xiagw dc7d1fe174
fix mktemp -du to mktem -d 2020-09-17 17:27:18 +07:00
Kslr 7e2d0acbf0
Merge pull request #98 from v2fly/develop
merge
2020-09-17 03:36:26 +08:00
Kslr 684560061f
Merge pull request #83 from v2fly/develop-rm-systemd-files
removing unused systemd unit files
2020-09-06 17:01:30 +08:00
DuckSoft 3e3452005d
removing unused systemd unit files
these are already included in release package and not used anymore.
2020-09-06 16:50:41 +08:00
Kslr 4706d8e46c
copy systemd file from the package 2020-09-06 15:17:43 +08:00
IceCodeNew dd07d27f89
Merge pull request #81 from IceCodeNew/develop 2020-09-05 11:23:17 +08:00
IceCodeNew 94ae72d399 Add `systemctl daemon-reload`
necessary for updating systemd unit files.
2020-09-05 11:06:48 +08:00
IceCodeNew 2235098bc6 Update systemd unit files every time the script is executed
脚本安装 systemd unit files 的行为很快会改为从最新的 v2ray-core release
中取得文件。
考虑到这些文件未来会有随 v2ray-core 新版本发布而更新的可能,所以提前做出这样的调整。
2020-09-05 10:40:11 +08:00
IceCodeNew 5d471592fd Unalias crucial functions when issuing them
for preventing user-custom aliases interupt script
2020-09-05 10:29:31 +08:00
IceCodeNew 55fe32f505 移除路径变量末尾的斜杠
我个人更倾向于这样的风格,一方面我认为路径变量就应该使用目录的名字,而既然目录名里不会有 `/`,那所以变量里也不应该带。
另一方面我是真的担心会出现转义导致的问题,一个目录不可能以 `/` 结尾,但可以以 `\` 结尾。变量名里保证不去多此一举加上 `/` 的话,对于 `ugly\` 这样的目录名,我们就可以在之后用到这个变量的时候再来处理转义问题,而不需要对着变量值 `ugly\/` 头疼。
2020-09-05 10:14:36 +08:00
IceCodeNew 77dc4df227 增加 `关于提 Issue 的温馨提示` 2020-09-03 20:47:03 +08:00
IceCodeNew 744d43c51c 增加 `重要提示` 2020-09-03 20:44:43 +08:00
IceCodeNew 9e54315c42 Update README.md
重新繁體中文化
2020-09-03 20:20:35 +08:00
IceCodeNew 7e2998d466 Update README.zh-Hans-CN.md
Sync changes on `README` to `README.zh-Hans-CN`
2020-09-03 20:19:44 +08:00
Kslr e7c5df86ad
add bash description 2020-08-26 00:48:26 +08:00