refactor(core,gui): make all needed changes to send and receive files on linux and android
This commit is contained in:
parent
351b7b9323
commit
0416ab6dab
12 changed files with 108 additions and 193 deletions
|
|
@ -79,7 +79,12 @@ impl Args {
|
|||
name,
|
||||
}) => {
|
||||
println!("Receive for {name:?}");
|
||||
receiver::start_receiver(relay.as_deref().unwrap_or(&cfg.app_origin), name).await;
|
||||
receiver::start_receiver(
|
||||
".".to_string(),
|
||||
relay.as_deref().unwrap_or(&cfg.app_origin),
|
||||
name,
|
||||
)
|
||||
.await;
|
||||
}
|
||||
Some(Commands::Serve {
|
||||
port,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue