feat: add plugin updates and details

This commit is contained in:
tianma-if committed 2026-08-16 19:34:16 +08:00
1 parent c657e383a0
commit dc7626843a
24 files changed
+998 -170

No files matched your search

+2
View File
@@ -42,6 +42,8 @@ styles.css (optional)
GitHub plugins must use `./main.js` as `entry`, and `main.js` must be a single-file bundle without relative module imports. EdgeEver reads the default-branch manifest, locates the matching Release, downloads assets in parallel, verifies GitHub's SHA-256 digest when present, and caches the verified package in device-local IndexedDB. `main.js` is limited to 5 MB and `styles.css` to 1 MB.
EdgeEver checks for updates when the Plugin Marketplace opens, when the window regains focus, and every 30 minutes, but never installs silently. The user must click Update and confirm. If a new version adds plugin permissions or network hosts, the confirmation lists the additional access. For GitHub distribution, the Release `manifest.json` must exactly match the default-branch manifest used for the update prompt or installation is rejected. Marketplace installs only follow newer versions verified in the Registry.
Users can freely install without marketplace admission by pasting this into the standalone Plugin Marketplace page:
```text