mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
send file works
This commit is contained in:
parent
93942f4e0c
commit
56e0068129
2 changed files with 2 additions and 2 deletions
|
@ -358,7 +358,7 @@ func (cr *Croc) send(forceSend int, serverAddress string, tcpPorts []string, isL
|
|||
if !bytes.HasPrefix(message, []byte("ready")) {
|
||||
return errors.New("recipient refused file")
|
||||
}
|
||||
|
||||
cr.StateString = "Transfer in progress..."
|
||||
fmt.Fprintf(os.Stderr, "\rSending (->%s)...\n", otherIP)
|
||||
// send file, compure hash simultaneously
|
||||
startTransfer = time.Now()
|
||||
|
|
|
@ -31,7 +31,7 @@ func main() {
|
|||
app := widgets.NewQApplication(len(os.Args), os.Args)
|
||||
|
||||
window := widgets.NewQMainWindow(nil, 0)
|
||||
window.SetFixedSize2(300, 200)
|
||||
window.SetFixedSize2(400, 150)
|
||||
window.SetWindowTitle("🐊📦 croc")
|
||||
|
||||
widget := widgets.NewQWidget(nil, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue