mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-23 02:15:46 +01:00
Remove verbose logging
This commit is contained in:
parent
3305fa412d
commit
d537b80e12
@ -82,8 +82,6 @@ impl WebServer {
|
|||||||
let ext = path[pos + 1 ..].to_owned();
|
let ext = path[pos + 1 ..].to_owned();
|
||||||
path = path[0 .. pos].to_owned();
|
path = path[0 .. pos].to_owned();
|
||||||
|
|
||||||
println!("Got query string: {}", ext);
|
|
||||||
|
|
||||||
Some(ext)
|
Some(ext)
|
||||||
},
|
},
|
||||||
None => None
|
None => None
|
||||||
@ -95,9 +93,7 @@ impl WebServer {
|
|||||||
"config" => Some(enscapsulate_json("config",
|
"config" => Some(enscapsulate_json("config",
|
||||||
&self.framework.get_config().to_json_str().unwrap())),
|
&self.framework.get_config().to_json_str().unwrap())),
|
||||||
"file-select" => {
|
"file-select" => {
|
||||||
println!("Pick folder!");
|
|
||||||
let file_dialog = nfd::open_pick_folder(None).unwrap();
|
let file_dialog = nfd::open_pick_folder(None).unwrap();
|
||||||
println!("OK!");
|
|
||||||
let file = match file_dialog {
|
let file = match file_dialog {
|
||||||
NfdResponse::Okay(path) => Some(path),
|
NfdResponse::Okay(path) => Some(path),
|
||||||
_ => None
|
_ => None
|
||||||
@ -106,7 +102,7 @@ impl WebServer {
|
|||||||
let response = FileSelection {
|
let response = FileSelection {
|
||||||
path : file
|
path : file
|
||||||
};
|
};
|
||||||
println!("Built!");
|
|
||||||
Some(serde_json::to_string(&response).unwrap())
|
Some(serde_json::to_string(&response).unwrap())
|
||||||
}
|
}
|
||||||
_ => None
|
_ => None
|
||||||
|
Loading…
Reference in New Issue
Block a user