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.
PLUGIN_NAME
Official-style plugin scaffold generated for LanMountainDesktop.
Build
dotnet build -c Release
LanMountainDesktop.PluginSdk build targets will generate:
- plugin output files under
bin/<Configuration>/<TFM>/ - a
.laapppackage in the project root
Manifest
Update plugin.json fields as needed before release:
idnamedescriptionauthorversionruntime.mode(in-procby default,isolated-backgroundfor phase-1 worker mode)