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
@@ -81,9 +81,10 @@ on the web.
|
||||
|
||||
Marketplace plugins are native `.dll`, `.so`, or `.dylib` packages launched in
|
||||
an isolated child process. Browsers cannot load those libraries or spawn the
|
||||
plugin runner, so the web build does not show the Plugin Manager or register
|
||||
its commands. Installed desktop plugins remain in the per-user plugins folder
|
||||
and load again on the next desktop launch.
|
||||
plugin runner. The web Plugin button and `PLUGINS` command therefore show a
|
||||
short explanation with a link to download the desktop app instead of opening
|
||||
the marketplace. Installed desktop plugins remain in the per-user plugins
|
||||
folder and load again on the next desktop launch.
|
||||
|
||||
### Platform shims (`src/sys.rs`)
|
||||
- `open_url`: `open::that` on native, `window.open(_blank)` on web.
|
||||
|
||||
Reference in new issue
Block a user