mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
Upgrade project to the Avalonia 12 baseline and Plugin SDK v5: centralize Avalonia packages, remove legacy WebView.Avalonia usage (use NativeWebView/WebView2 EnvironmentRequested), and update Fluent/Material icon/package usages. Bump multiple package/project versions to 5.0.0 and Avalonia 12.0.1, update plugin template and README/docs to SDK v5, and add PLUGIN_SDK_V5_MIGRATION.md. Also fix runtime/behavior bugs: make DataLocationResolver use a fixed bootstrap launcher data path and avoid recursive ResolveDataRoot; add legacy-state handling and extraction in OobeStateService; and update component settings tests to reflect migrated storage (DB/backup) and reset cache for test reloads. Various csproj, tests, and docs updated to reflect the migration and ensure build/test compatibility.
LanMountainDesktop.PluginSdk
Official SDK package for LanMountainDesktop plugins.
Includes
IPlugin/PluginBaseentry abstractionsIPluginWorker/PluginWorkerBaseworker-side entry abstractions for isolated background modePluginManifestand shared contract declarationsruntime.modemanifest support forin-proc,isolated-background, andisolated-window- desktop component registration extensions
- plugin runtime context and host service abstractions
- build-transitive packaging targets for
.laappoutput
Quick Start
<ItemGroup>
<PackageReference Include="LanMountainDesktop.PluginSdk" Version="5.0.0" />
</ItemGroup>
Create plugin.json in your plugin project root, then run dotnet build to produce both build output and a .laapp package.