mirror of
https://github.com/schollz/croc.git
synced 2024-11-24 08:02:33 +03:00
update readme
This commit is contained in:
parent
af92a47450
commit
2b8d8670bd
@ -775,6 +775,7 @@ func (c *Connection) runClient(serverName string) error {
|
||||
} else {
|
||||
log.Debugf("is encrypted: %+v", c.File.IsEncrypted)
|
||||
if c.File.IsEncrypted {
|
||||
fmt.Fprintf(os.Stderr, "\n")
|
||||
c.spinner = spinner.New(spinner.CharSets[24], 100*time.Millisecond) // Build our new spinner
|
||||
c.spinner.Suffix = " Decrypting file.."
|
||||
c.spinner.Start()
|
||||
@ -821,7 +822,7 @@ func (c *Connection) runClient(serverName string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Fprintf(os.Stderr, "\nReceived folder written to '%s'", path.Join(c.Path, c.File.Name[:len(c.File.Name)-4]))
|
||||
fmt.Fprintf(os.Stderr, "Received folder written to '%s'", path.Join(c.Path, c.File.Name[:len(c.File.Name)-4]))
|
||||
} else {
|
||||
outputStream := path.Join(c.Path, c.File.Name)
|
||||
if c.UseStdout {
|
||||
|
Loading…
Reference in New Issue
Block a user