mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
update readme about config file
This commit is contained in:
parent
81bc06eabb
commit
dd03cdc6e3
2 changed files with 13 additions and 2 deletions
2
.github/default.txt
vendored
2
.github/default.txt
vendored
|
@ -33,7 +33,7 @@ install_croc()
|
|||
croc_os="unsupported"
|
||||
croc_arch="unknown"
|
||||
croc_arm=""
|
||||
croc_version="4.0.8"
|
||||
croc_version="4.1.0"
|
||||
|
||||
|
||||
# Termux on Android has $PREFIX set which already ends with /usr
|
||||
|
|
13
README.md
13
README.md
|
@ -4,7 +4,7 @@
|
|||
src="https://user-images.githubusercontent.com/6550035/46709024-9b23ad00-cbf6-11e8-9fb2-ca8b20b7dbec.jpg"
|
||||
width="408px" border="0" alt="croc">
|
||||
<br>
|
||||
<a href="https://github.com/schollz/croc/releases/latest"><img src="https://img.shields.io/badge/version-4.0.8-brightgreen.svg?style=flat-square" alt="Version"></a>
|
||||
<a href="https://github.com/schollz/croc/releases/latest"><img src="https://img.shields.io/badge/version-4.1.0-brightgreen.svg?style=flat-square" alt="Version"></a>
|
||||
<img src="https://img.shields.io/badge/coverage-77%25-brightgreen.svg?style=flat-square" alt="Code coverage">
|
||||
<a href="https://travis-ci.org/schollz/croc"><img
|
||||
src="https://img.shields.io/travis-ci/schollz/croc.svg?style=flat-square" alt="Build
|
||||
|
@ -122,6 +122,17 @@ You can send files using your relay by entering `-relay` to change the relay tha
|
|||
$ croc -relay "ws://myrelay.example.com" send [filename]
|
||||
```
|
||||
|
||||
### Configuration file
|
||||
|
||||
You can also make some paramters static by using a configuration file. To get started with the config file just do
|
||||
|
||||
```
|
||||
$ croc config
|
||||
```
|
||||
|
||||
which will generate the file that you can edit.
|
||||
Any changes you make to the configuration file will be applied *before* the command-line flags, if any.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue