XR for Universal Blue and Fedora Atomic Desktops
vr fedora-atomic linux
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(envision): Modify plugin download error message

Signed-off-by: Shiloh Fen <shiloh@shilohfen.com>

+31
+31
src/atomic-xr/patches/envision/0003-Modify-plugin-download-error-message.patch
··· 1 + From fd6d4ff51bac5ecee7f014cd140cffe977e6e59c Mon Sep 17 00:00:00 2001 2 + From: Shiloh Fen <shiloh@shilohfen.com> 3 + Date: Fri, 5 Sep 2025 23:07:27 -0500 4 + Subject: [PATCH] Modify plugin download error message 5 + 6 + --- 7 + src/ui/plugins/store.rs | 8 ++------ 8 + 1 file changed, 2 insertions(+), 6 deletions(-) 9 + 10 + diff --git a/src/ui/plugins/store.rs b/src/ui/plugins/store.rs 11 + index 0faf99a..17d1534 100644 12 + --- a/src/ui/plugins/store.rs 13 + +++ b/src/ui/plugins/store.rs 14 + @@ -357,12 +357,8 @@ impl AsyncComponent for PluginStore { 15 + None => { 16 + alert( 17 + "Download failed", 18 + - Some(&format!( 19 + - "Downloading {} {} failed:\n\nNo executable url provided for this plugin, this is likely a bug!", 20 + - plugin.name, 21 + - plugin.version.as_ref().unwrap_or(&"(no version)".to_string())) 22 + - ), 23 + - Some(&self.win.as_ref().unwrap().clone().upcast::<gtk::Window>()) 24 + + Some("Please use Homebrew to install plugins."), 25 + + Some(&self.win.as_ref().unwrap().clone().upcast::<gtk::Window>()), 26 + ); 27 + } 28 + }; 29 + -- 30 + 2.51.0 31 +