forked from 1b-agent/opencadstudio-upstream
1 parent
6686141d3b
commit
2424eeb74d
10 files changed
+56
-22
No files matched your search
@@ -236,8 +236,6 @@ pub fn start_allowed(cmd: &str) -> bool {
|
||||
| "REPORT"
|
||||
| "CHANGELOG"
|
||||
| "ABOUT"
|
||||
| "PLUGINS"
|
||||
| "PLUGINMANAGER"
|
||||
| "DONATE"
|
||||
| "WEBVERSION"
|
||||
| "HELP"
|
||||
@@ -247,6 +245,8 @@ 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