fix(plugins): check and update installed plugins with provenance guards

This commit is contained in:
Abeautifulsnow authored and GitHub committed 2026-09-21 00:09:50 +08:00
1 parent d715b16ba5
commit cab674299a
26 files changed
+1180 -44

No files matched your search

+3
View File
@@ -90,6 +90,9 @@ const exactMessageKeys: Record<string, string> = {
const patterns: [RegExp, string][] = [
[/^Plugin update blocked by active connections: ([\s\S]+)$/, "pluginPlatform.updateBlockedByConnections"],
// crates/dbx-plugin-runtime provenance guard (installer.rs / marketplace.rs)
[/^Plugin update source change requires confirmation:/, "pluginPlatform.updateSourceChangeRequired"],
[/^Plugin downgrade to version .+ is not allowed/, "pluginPlatform.updateDowngradeRejected"],
[/^(.+?) driver is not installed\. Please install it from the Driver Manager\.$/, "connection.driverNotInstalled"],
[/^JRE (.+?) runtime is not installed\. Please install it from the Driver Manager\.$/, "connection.jreNotInstalled"],
[/^System Java runtime was not found:/, "connection.systemJavaNotFound"],