Commit Graph

27 Commits (develop)

Author SHA1 Message Date
IceCodeNew bcf5dfd7f2
Ignore SC2268
Signed-off-by: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com>
2021-07-08 01:19:06 +08: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
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
RPRX d31559fcbb
v2ray -> v2fly 2020-11-25 03:20:52 +00:00
IceCodeNew 9760e6fe1b create function `curl`, instead of alias `curl` 2020-09-25 16:08:05 +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 f0eacd1ca5 `shfmt -i 2 -ci` 2020-09-20 00:35:30 +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
Nicholas Wang 82f1734386
remove silent flag for cURL calls in install-dat-release.sh 2020-08-17 04:25:17 -05:00
Dct Mei e6bd2e5f21
fix: A wrong installation path
1. Move the .dat file from the lib directory to the share directory.

issue #17
2020-08-15 16:55:02 +08:00
Dct Mei c5d661fca6
feat: Add variables to modify the installation path
1. $DAT_PATH can be modified to /usr/local/share/v2ray/ .
2. $JSON_PATH can be modified to /etc/v2ray/ .
3. However, after modification, you need to modify the unit file yourself.
2020-08-12 11:15:37 +08:00
Dct Mei a2bd3852e4
Revert "Make scripts more compatible and fail fast"
This reverts commit cf8dab851f.

This affects the normal operation of the script, and debugging should be done deliberately, not to the user.
2020-07-13 00:56:56 +08:00
loyalsoldier cf8dab851f
Make scripts more compatible and fail fast 2020-07-11 18:25:10 +08:00
IceCodeNew fb1cc7f6e7 Make curl silence again. 2020-06-13 23:52:05 +08:00
Dct Mei 38da8a7b93
style: Canonical code format
1. Regulate two judgments, this will not cause functional changes.
2. Add some supplementary content, mainly for subsequent maintenance.
2020-06-13 20:44:22 +08:00
tzwjkl 1ec9723760
Merge pull request #2 from v2fly/master
Up to date from Origin
2020-06-13 09:30:59 +08:00
IceCodeNew a0bb5d8eed Only implied some ShellCheck fixes.
添上了必要的引号,同时手动修复了 [SC2181](https://github.com/koalaman/shellcheck/wiki/SC2181) 错误。
2020-06-12 12:54:36 +08:00
tzwjkl b92ed1985b fix install mode parameter 2020-06-11 15:35:50 +08:00
tzwjkl 9bfbc5df76 Add Comments for check_if_running_as_root() 2020-06-08 04:20:43 +08:00
tzwjkl 4488a5c20b Add root uid judgment before running 2020-06-08 03:38:51 +08:00
tzwjkl a0a1c5af20 Remove unnecessary permission changes. 2020-06-06 15:29:44 +08:00
Dct Mei 95020aa14d
fix: Extra files
After executing install, two redundant .new files will be left out, which should be removed.
2020-04-29 15:05:10 +08:00
Dct Mei c5deaa3d12
fix: Permissions issue
geoip.dat and geosite.dat should be 755, not 644.
2020-04-29 15:00:34 +08:00
Dct Mei 9c8f7fbbbf
style: Add some tips 2020-04-29 14:40:52 +08:00
Dct Mei f1ce0cb4c0
feat: Rename and add some comments
1. I originally planned to use Python, and after thinking about it, I still used Bash.
2. The script depends on cURL, but you need to solve it yourself.
2020-04-29 14:09:23 +08:00