mirror of
https://github.com/mmvanheusden/SteamDepotDownloaderGUI.git
synced 2026-02-04 05:31:19 +01:00
fix: don't print user passwords
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
use std::io;
|
||||
use std::path::{Path};
|
||||
use std::path::Path;
|
||||
use std::sync::OnceLock;
|
||||
use std::time::Duration;
|
||||
|
||||
@@ -40,10 +40,10 @@ async fn start_download(steam_download: steam::SteamDownload) {
|
||||
|
||||
let terminal_to_use = if steam_download.options().terminal().is_none() { default_terminal.first().unwrap() } else { &Terminal::from_index(&steam_download.options().terminal().unwrap()).unwrap() };
|
||||
|
||||
println!("\n\n---------------------HELLO FROM RUST!---------------------");
|
||||
println!("We received these values from frontend:");
|
||||
println!("-------------------------DEBUG INFO------------------------");
|
||||
println!("received these values from frontend:");
|
||||
println!("\t- Username: {}", steam_download.username().as_ref().unwrap_or(&String::from("Not provided")));
|
||||
println!("\t- Password: {}", steam_download.password().as_ref().unwrap_or(&String::from("Not provided")));
|
||||
// println!("\t- Password: {}", steam_download.password().as_ref().unwrap_or(&String::from("Not provided"))); Don't log in prod lol
|
||||
println!("\t- App ID: {}", steam_download.app_id());
|
||||
println!("\t- Depot ID: {}", steam_download.depot_id());
|
||||
println!("\t- Manifest ID: {}", steam_download.manifest_id());
|
||||
|
||||
@@ -144,7 +144,7 @@ $(async () => {
|
||||
options: vectumOptions
|
||||
};
|
||||
|
||||
console.log(steamDownload);
|
||||
// console.debug(steamDownload);
|
||||
await invoke("download_depotdownloader");
|
||||
|
||||
$("#downloadingnotice").prop("hidden", true);
|
||||
@@ -153,7 +153,7 @@ $(async () => {
|
||||
console.debug("DepotDownloader download process completed. Starting game download...");
|
||||
|
||||
await invoke("start_download", {steamDownload: steamDownload});
|
||||
console.log("All done. Ready for next game");
|
||||
console.log("Send frontend data over to backend. Ready for next download.");
|
||||
});
|
||||
|
||||
$("#settings-button").on("click", async () => {
|
||||
|
||||
@@ -44,6 +44,3 @@ function setTheme(theme: string) {
|
||||
$("#theme-dark").attr("aria-selected", String(theme === "dark"));
|
||||
$("#theme").attr("data-color-mode", theme);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user