| author | |
| committer | |
| log | 519c225b1dd09a293f258f6422dbb315f1473302 |
| tree | 041b0e8b827731021cd4a866191368daabee0d44 |
| parent | 99c4702676053808b8621aec20d27b8f0815e627 |
| signature | Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU |
Keep Download Desktop App visible beside the browser toolbar, including on the welcome screen, and open the stable folder of current desktop builds.
Refs #84
Assisted-by: gpt-6.1-sol1 files changed, 4 insertions(+), 0 deletions(-)
crates/snowbound/src/main.rs+4| ... | ... | @@ -2332,6 +2332,10 @@ impl State { |
| 2332 | 2332 | }, |
| 2333 | 2333 | ); |
| 2334 | 2334 | } |
| 2335 | #[cfg(target_arch = "wasm32")] | |
| 2336 | if ui::button(&mut self.ui, "download", "Download Desktop App").clicked { | |
| 2337 | platform::reveal("https://file.paperclover.net/shr/snowbound/latest/"); | |
| 2338 | } | |
| 2335 | 2339 | self.ui.close(); |
| 2336 | 2340 | if title { |
| 2337 | 2341 | platform::window_controls(&mut self.ui, &self.window, true); |