Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/login/gdrive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,15 @@ impl GDriveConfig {
.launch()
);
if let AuthType::GDrive = auth_type {
Command::new("xdg-open").arg("http://localhost:8000").spawn().unwrap().wait().unwrap().exit_ok().unwrap();
Command::new("xdg-open")
.arg("http://localhost:8000")
.spawn()
.unwrap()
.wait()
.unwrap()
.success()
.then_some(())
.unwrap()
}

// Wait for input from the user.
Expand Down
6 changes: 1 addition & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#![feature(let_chains)]
#![feature(arc_unwrap_or_clone)]
#![feature(panic_info_message)]
#![feature(async_closure)]
#![feature(trait_alias)]
#![feature(exit_status_error)]
//#![feature(exit_status_error)]

pub mod about;
pub mod entities;
Expand Down