From 70c0310f775f77dae2f8abb164b413e3feddfd29 Mon Sep 17 00:00:00 2001 From: Shiloh Fen Date: Fri, 5 Sep 2025 23:10:46 -0500 Subject: [PATCH] feat(envision): Modify plugin download error message Signed-off-by: Shiloh Fen --- ...Modify-plugin-download-error-message.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/atomic-xr/patches/envision/0003-Modify-plugin-download-error-message.patch diff --git a/src/atomic-xr/patches/envision/0003-Modify-plugin-download-error-message.patch b/src/atomic-xr/patches/envision/0003-Modify-plugin-download-error-message.patch new file mode 100644 index 0000000..78a5eed --- /dev/null +++ b/src/atomic-xr/patches/envision/0003-Modify-plugin-download-error-message.patch @@ -0,0 +1,31 @@ +From fd6d4ff51bac5ecee7f014cd140cffe977e6e59c Mon Sep 17 00:00:00 2001 +From: Shiloh Fen +Date: Fri, 5 Sep 2025 23:07:27 -0500 +Subject: [PATCH] Modify plugin download error message + +--- + src/ui/plugins/store.rs | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +diff --git a/src/ui/plugins/store.rs b/src/ui/plugins/store.rs +index 0faf99a..17d1534 100644 +--- a/src/ui/plugins/store.rs ++++ b/src/ui/plugins/store.rs +@@ -357,12 +357,8 @@ impl AsyncComponent for PluginStore { + None => { + alert( + "Download failed", +- Some(&format!( +- "Downloading {} {} failed:\n\nNo executable url provided for this plugin, this is likely a bug!", +- plugin.name, +- plugin.version.as_ref().unwrap_or(&"(no version)".to_string())) +- ), +- Some(&self.win.as_ref().unwrap().clone().upcast::()) ++ Some("Please use Homebrew to install plugins."), ++ Some(&self.win.as_ref().unwrap().clone().upcast::()), + ); + } + }; +-- +2.51.0 + -- 2.51.2