Remove Warnings (#232)

* Remove Windows Warnings
* Fix linux warnings
This commit is contained in:
Philip Kristoffersen
2022-09-11 17:21:21 +02:00
committed by GitHub
parent 941b647986
commit d906f5688a
9 changed files with 466 additions and 424 deletions
+3 -2
View File
@@ -3,6 +3,7 @@ mod config;
mod egs;
mod flatpak;
mod gog;
#[cfg(target_family = "unix")]
mod heroic;
mod itch;
mod legendary;
@@ -17,13 +18,13 @@ mod sync;
mod ui;
mod uplay;
fn main(){
fn main() {
ensure_config_folder();
migration::migrate_config();
let args: Vec<String> = std::env::args().collect();
if args.contains(&"--no-ui".to_string()) {
ui::run_sync();
ui::run_sync();
} else {
ui::run_ui(args);
}