forked from 1b-agent/opencadstudio-upstream
fix(web): link plugins to desktop app
Keep browser entry points visible while explaining that native plugins require a desktop install. Refs #567
This commit is contained in:
1 parent
2424eeb74d
commit
fcc6e1f8e1
9 files changed
+92
-48
No files matched your search
@@ -236,6 +236,8 @@ pub fn start_allowed(cmd: &str) -> bool {
|
||||
| "REPORT"
|
||||
| "CHANGELOG"
|
||||
| "ABOUT"
|
||||
| "PLUGINS"
|
||||
| "PLUGINMANAGER"
|
||||
| "DONATE"
|
||||
| "WEBVERSION"
|
||||
| "HELP"
|
||||
@@ -245,8 +247,6 @@ pub fn start_allowed(cmd: &str) -> bool {
|
||||
| "CUILOAD"
|
||||
| "CUIIMPORT"
|
||||
)
|
||||
|| (!cfg!(target_arch = "wasm32")
|
||||
&& matches!(cmd, "PLUGINS" | "PLUGINMANAGER"))
|
||||
}
|
||||
|
||||
// ── Autocomplete registry — one-shot commands ──────────────────────────────
|
||||
|
||||
Reference in new issue
Block a user