Closed hongyi-zhao closed 5 years ago
Try sudo ./v2gen --init
As it will write to /etc/v2ray/v2gen.ini
by default
or try -c xxx/xxx/v2gen.ini
to save to a custom path
and add -c xxx/xxx/v2gen.ini
when you generate a V2Ray config
It seems that you do not have /etc/v2ray/
folder,
try sudo mkdir /etc/v2ray/
first or try https://github.com/iochen/V2Gen/issues/3#issuecomment-531257320
I use the v2ray directly instead of installing it, so I don't have that folder.
you can make that folder or use another path like the solutions above.
Thanks, got it.
See the following:
$ ./v2gen --init panic: open /etc/v2ray/v2gen.ini: no such file or directory
goroutine 1 [running]: main.checkErr(...) /home/werner/software/anti-gfw/socks5/v2ray/V2Gen.git/main.go:64 main.main() /home/werner/software/anti-gfw/socks5/v2ray/V2Gen.git/main.go:45 +0x1ef