0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

Merge branch 'master' of github.com:schollz/croc

This commit is contained in:
Zack Scholl 2019-07-14 19:31:53 -07:00
commit f6cafd76fd
7 changed files with 42 additions and 19 deletions

View file

@ -27,7 +27,7 @@ func Run() (err error) {
app := cli.NewApp()
app.Name = "croc"
if Version == "" {
Version = "v6.0.7-15034cc"
Version = "v6.0.11-6d9105a"
}
app.Version = Version
app.Compiled = time.Now()
@ -66,7 +66,7 @@ func Run() (err error) {
cli.BoolFlag{Name: "debug", Usage: "increase verbosity (a lot)"},
cli.BoolFlag{Name: "yes", Usage: "automatically agree to all prompts"},
cli.BoolFlag{Name: "stdout", Usage: "redirect file to stdout"},
cli.StringFlag{Name: "relay", Value: "198.199.67.130:9009", Usage: "address of the relay"},
cli.StringFlag{Name: "relay", Value: "142.93.177.120:9009", Usage: "address of the relay"},
cli.StringFlag{Name: "out", Value: ".", Usage: "specify an output folder to receive the file"},
}
app.EnableBashCompletion = true

View file

@ -33,7 +33,7 @@ install_croc()
croc_os="unsupported"
croc_arch="unknown"
croc_arm=""
croc_version="6.0.7"
croc_version="6.0.11"
# Termux on Android has $PREFIX set which already ends with /usr