fix(web): hide unsupported plugin manager

Fixes #567
This commit is contained in:
Hakan Seven committed 2026-07-29 16:17:17 +03:00
1 parent 6686141d3b
commit 2424eeb74d
10 files changed
+56 -22

No files matched your search

+7
View File
@@ -212,10 +212,17 @@ impl OpenCADStudio {
return Some(Task::done(Message::AboutOpen));
}
#[cfg(not(target_arch = "wasm32"))]
"PLUGINS" | "PLUGINMANAGER" => {
return Some(Task::done(Message::PluginManagerOpen));
}
#[cfg(target_arch = "wasm32")]
"PLUGINS" | "PLUGINMANAGER" => {
self.command_line
.push_info("External plugins are available in the desktop app.");
}
"CHANGELOG" => {
crate::sys::open_url("https://github.com/HakanSeven12/OpenCADStudio/releases");
self.command_line.push_info("Opening release notes...");