Return dedicated error message if dbus session could not be opened #22
@@ -119,7 +119,9 @@ async fn main() {
|
|||||||
error!("Unable to get Stardust project directories, default skybox and startup script will not work.");
|
error!("Unable to get Stardust project directories, default skybox and startup script will not work.");
|
||||||
}
|
}
|
||||||
|
|
||||||
let dbus_connection = Connection::session().await.unwrap();
|
let dbus_connection = Connection::session()
|
||||||
|
.await
|
||||||
|
.expect("Could not open dbus session");
|
||||||
dbus_connection
|
dbus_connection
|
||||||
.request_name("org.stardustxr.HMD")
|
.request_name("org.stardustxr.HMD")
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user