Commit Graph

286 Commits (4d1d1758a04952383634bf2b793ceaac1db63b6c)

Author SHA1 Message Date
i3dx 4d1d1758a0
Update install-release.sh
"Github API is responding with a 403"

HTTP Headers, such as User-Agent, can be set in the options object. In the example below, we call the github API to find out the number of stars and forks for the request repository. This requires a custom User-Agent header as well as https.

https://github.com/request/request#custom-http-headers
2024-09-29 20:07:47 +08:00
Reza b3cbf91a19
Check GitHub API status code (#271)
Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2023-02-20 11:05:26 +08:00
IceCodeNew 5b7125e4a8
fix: no systemd detected (#266)
* fix: no systemd detected

* format

* fix ci for OpenSUSE

* drop ci for OpenSUSE

since the newer image does not come with the systemd; and the EOL OSes need extra hack to get the script work
2023-01-17 15:58:27 +08:00
Markson Hon b4035a8eb2
Fix hash check (#263)
* Fix hash check

* chore

Co-authored-by: Markson <markson@2333ma.top>
Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2023-01-17 15:13:38 +08:00
IceCodeNew c8bc8dd17d
ci: use rocky linux 8.6 instead of centos (#265) 2023-01-17 15:07:19 +08:00
朱聖黎 Zhu Sheng Li a9c7b8d491
fix: incompatible CLI usage since v5 (#246)
Co-authored-by: Dct Mei <dctxmei@yandex.com>
2022-09-16 14:20:22 +08:00
IceCodeNew adf22292f7
Fix GitHub Action
Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2021-10-18 23:34:36 +08:00
ir20 53462ac3d6
supress error output (#211)
* supress error output

supress error message "rm: cannot remove '/etc/systemd/system/v2ray.service.d/10-donot_touch_multi_conf.conf': No such file or directory"

Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2021-07-08 01:29:46 +08:00
IceCodeNew bcf5dfd7f2
Ignore SC2268
Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2021-07-08 01:19:06 +08:00
IceCodeNew d0fdc57c7f
Merge pull request #193 from dctxmei/master
fix: Shebang content
2021-01-19 05:10:44 +00:00
Dct Mei a24fe6823b fix: Shebang content
1. Change Shebang from absolute path to logical path, which can adapt to
   more situations.
2021-01-19 13:07:00 +08:00
IceCodeNew 8d7f3e8539
Merge pull request #194 from v2fly/4pr_fix_sh-checker_action
Fix sh-checker action
2021-01-19 05:03:07 +00:00
IceCodeNew 2a723716f8 Fix sh-checker action 2021-01-19 13:00:03 +08:00
IceCodeNew bd3e14651e
Merge pull request #186 from sixg0000d/patch-1
Rename a var and enable set it by env
2020-11-26 15:04:02 +08:00
sixg0000d 7f59b07e7d Rename a var and enable set it by env 2020-11-26 14:47:07 +08:00
Nicholas Wang 07a829acf0 attempt of fix to #182 (#184)
Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2020-11-26 03:39:58 +08:00
IceCodeNew ecc831a341 Fix #181
解决方案参考自:
https://github.com/cyfdecyf/cow/pull/326
2020-11-25 20:00:23 +08:00
RPRX d31559fcbb
v2ray -> v2fly 2020-11-25 03:20:52 +00:00
IceCodeNew 224e4318ce
Merge pull request #180 from ToutyRater/patch-1
Modify exit code number
2020-11-25 02:17:31 +08:00
ToutyRater 7c83cb4a17
Modify exit code number 2020-11-24 16:33:01 +00:00
IceCodeNew a4a3bb4b53 Minor bug fix
Refer: 50593bb31c (r44408896)
2020-11-22 02:00:31 +08:00
IceCodeNew c3fa5d1217 Chore 2020-10-17 21:13:09 +08:00
IceCodeNew bfd16b9008
Merge pull request #170 from xiagw/remove-useless-version-number
remove useless function version_number
2020-10-15 23:34:56 +08:00
xiagw ab7cc47730
remove useless function version_number 2020-10-15 22:08:56 +07:00
IceCodeNew 7001a6d560 不推荐在 docker 中使用本项目安装 v2ray 2020-10-13 16:30:10 +08:00
IceCodeNew 91dcfb2d5f
Merge pull request #166 from IceCodeNew/develop 2020-10-13 16:06:41 +08:00
IceCodeNew ae19b89b93 Make output much easier to read. 2020-10-13 16:02:46 +08:00
IceCodeNew 7b5fe33c58 Propose a dead simple way to show systemd configuration
while the local systemd version is too low to support `cat-config` function.
2020-10-13 15:53:13 +08:00
IceCodeNew 7fef216fd6
Merge pull request #165 from IceCodeNew/develop 2020-10-13 15:44:43 +08:00
IceCodeNew c394655124 Test script in Ubuntu 16.04
so as to be compatible with Linux distros released in last 4 yrs.
2020-10-13 15:41:02 +08:00
IceCodeNew 994690f982 Revert "Replace `unzip` with `bsdtar`"
This reverts commit 5573d7b6df.
2020-10-13 15:37:50 +08:00
IceCodeNew 8ec8a258c3
Fix #161 (#162) 2020-10-12 14:34:51 +08:00
IceCodeNew 32d5d6e060 Introduce `systemd_cat_config` function 2020-10-02 20:57:44 +08:00
IceCodeNew ccd02ace75 `shfmt -i 2 -ci -sr` 2020-10-02 20:56:53 +08:00
IceCodeNew c1fb7038a1 Ignoring three specific instances. 2020-10-02 20:56:53 +08:00
IceCodeNew 0f45cdeae6 Introduce `check-update` 2020-10-02 20:56:53 +08:00
IceCodeNew 50593bb31c fix SC2181 2020-10-02 20:56:53 +08:00
oxape 656fa81eb9 Match only whole word `v2ray` in systemd unit files. (#153)
Also fix SC2143.

Co-authored-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2020-10-02 19:38:24 +08:00
IceCodeNew bd95556173 chore (better way to handle `PROXY` args)
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/develop/install-release.sh) -p "http://95.174.67.50:18080"
手动测试通过(((

Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2020-09-30 22:17:03 +08:00
IceCodeNew 992095abba Revert "Suggest `no-cache` header."
This reverts commit 38017e9d90.
2020-09-30 21:10:43 +08:00
IceCodeNew 19dd8504a3
Merge pull request #152 from v2fly/develop 2020-09-30 19:33:11 +08:00
IceCodeNew 38017e9d90 Suggest `no-cache` header. 2020-09-30 19:27:10 +08:00
IceCodeNew 5b92713370 Fix SC2162; shfmt -i 2 -ci -sr
Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2020-09-30 19:27:10 +08:00
IceCodeNew 69aaf1981f Chore
Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2020-09-30 19:27:10 +08:00
IceCodeNew 2894fc4e9a rm configuration file which could mess things up. 2020-09-30 18:23:22 +08:00
IceCodeNew 617ab1bd07 Always use latest script rather than a local cached script. 2020-09-30 18:07:56 +08:00
IceCodeNew 772b160874
`shfmt -i 2 -ci -sr` 2020-09-29 15:59:18 +08:00
DuckSoft a3dc56e54d
Merge pull request #148 from DuckSoft/master
Finishing off #67
2020-09-29 11:12:25 +08:00
Nicholas Wang 3b14334955
fix typo 2020-09-28 07:17:50 -05:00
DuckSoft cf45fe65a5
README.zh-Hans-CN: updated fhs link from Wikipedia 2020-09-28 10:50:06 +08:00