diff --git a/docs/index.txt b/docs/index.txt index be9f796..45d6294 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -35,12 +35,12 @@ NEVEKO Links (Clear) # Github -git clone https://github +git clone https://github.com/creating2morrow/neveko.git -----BEGIN PGP SIGNATURE----- -iJIEARYKADoWIQQEoRcoLQbE3ctKJgFaPK5QG49jTAUCZI+uVhwcY3JlYXRpbmdf -dG9tb3Jyb3dAcHJvdG9uLm1lAAoJEFo8rlAbj2NMJC0BALCzcvZ3bO8zVFt+tzf4 -7wDH/ghLrOVj7JM14vBOhpUEAP4lZZqtWTwUwLDRP144iZzNx+dcIQ0zdCsIF9KL -P1P9BA== -=DYWe +iJIEARYKADoWIQQEoRcoLQbE3ctKJgFaPK5QG49jTAUCZI/cIRwcY3JlYXRpbmdf +dG9tb3Jyb3dAcHJvdG9uLm1lAAoJEFo8rlAbj2NMcGoA/3k4+EoTAHAdUNUDB1oW +gmbYCOJIEuXoksSmQeSgSvX2AP4iQ2a15s+/Y7Gn0HGMylq3EA6QKC2DPFANYT5L +EC0vAg== +=vZ7T -----END PGP SIGNATURE----- \ No newline at end of file diff --git a/neveko-gui/src/apps/market.rs b/neveko-gui/src/apps/market.rs index aa75923..88cfbf4 100644 --- a/neveko-gui/src/apps/market.rs +++ b/neveko-gui/src/apps/market.rs @@ -138,6 +138,12 @@ impl eframe::App for MarketApp { vendor_product.pid ); if self.is_window_shopping { + match std::fs::write(&file_path, &vendor_product.image) { + Ok(w) => w, + Err(_) => { + log::error!("failed to write product image") + } + }; self.is_loading = true; let contents = std::fs::read(&file_path).unwrap_or(Vec::new()); // this image should uwrap if vendor image bytes are