feat(plugin,ui): consolidate builtin.core, enforce Guest Tools toggle, and add QQ group entry

- Merge essential builtins (driver, default theme, start prep, host workarounds) into always-on system plugin builtin.core, with state.json and arg-ledger migration plus app-scoped workaround settings honored by both GUI and CLI.
- Ensure disabling builtin.bridge.guest-tools stops the localhost bridge without being restarted by feature callers, fix guesttools.Server Start/Close race, and reflect the disabled state in VMPage and SettingsModal.
- Add QQ community group entry in About settings with Windows tencent:// protocol detection, cached invite redirect resolution, and copy-ID fallback.
- Update docs/plugin-architecture.md, Wails bindings, and i18n strings.
This commit is contained in:
Nwflower committed 2026-11-29 09:54:51 -07:00
1 parent 007f2ac93c
commit 181c616909
35 files changed
+1432 -578

No files matched your search

+3 -2
View File
@@ -722,11 +722,12 @@ export const SettingsModal: React.FC<Props> = ({ locale, detail, stats, host, op
<Switch
label={tr('driveShareMaster')}
checked={!!driveSettings?.enabled}
disabled={!driveSettings || driveBusy}
disabled={!driveSettings || driveBusy || !!detail.guest_tools_disabled}
onChange={(enabled) => void updateDriveShares(enabled, selectedDrives())}
/>
}
/>
{detail.guest_tools_disabled && <div className="notice">{tr('gtStatusOffTip')}</div>}
{driveErr && <div className="notice" role="alert">{driveErr}</div>}
{driveSettings?.enabled && selectedDrives().length > 0 &&
(detail.guest_tools_agent_version ?? 0) < driveSettings.required_agent_version && (
@@ -739,7 +740,7 @@ export const SettingsModal: React.FC<Props> = ({ locale, detail, stats, host, op
key={drive.drive}
title={title}
desc={drive.system ? tr('driveShareSystem', { root: drive.root }) : tr('driveShareDrive', { root: drive.root })}
disabled={!driveSettings?.enabled || driveBusy}
disabled={!driveSettings?.enabled || driveBusy || !!detail.guest_tools_disabled}
reason={!driveSettings?.enabled ? tr('driveShareMasterOff') : undefined}
control={
<Switch