Have the app actually open
This commit is contained in:
parent
72e490032c
commit
f7588296b8
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@ use anyhow::Result;
|
||||||
|
|
||||||
fn main() -> Result<()> {
|
fn main() -> Result<()> {
|
||||||
compile_gresources()?;
|
compile_gresources()?;
|
||||||
tonic_build::compile_protos("../proto/burrow.proto")?;
|
tonic_build::compile_protos("proto/burrow.proto")?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ impl AsyncComponent for App {
|
||||||
sender: AsyncComponentSender<Self>,
|
sender: AsyncComponentSender<Self>,
|
||||||
) -> AsyncComponentParts<Self> {
|
) -> AsyncComponentParts<Self> {
|
||||||
// TODO: RPC REFACTOR (Handle Error)
|
// TODO: RPC REFACTOR (Handle Error)
|
||||||
let daemon_client = Arc::new(Mutex::new(Some(daemon::daemon_connect().await.unwrap())));
|
let daemon_client = Arc::new(Mutex::new(daemon::daemon_connect().await.ok()));
|
||||||
|
|
||||||
let switch_screen = switch_screen::SwitchScreen::builder()
|
let switch_screen = switch_screen::SwitchScreen::builder()
|
||||||
.launch(switch_screen::SwitchScreenInit {
|
.launch(switch_screen::SwitchScreenInit {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue