feat.airapp sdk

This commit is contained in:
lincube
2026-06-08 02:39:44 +08:00
parent 1a6f129e78
commit 7db72fbcd0
36 changed files with 2617 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# LanMountainDesktop.AirApp.ComponentTemplate
A desktop component AirApp for LanMountainDesktop.
## Build
```bash
dotnet build -c Release
```
This will produce a `.laapp` package in `bin/Release/net10.0/`.
## Install
Copy the `.laapp` file to LanMountainDesktop's plugins directory or install via the AirApp Market.
## Development
To test your component during development:
1. Build the project
2. Run LanMountainDesktop with debug mode:
```bash
dotnet run --project path/to/LanMountainDesktop.csproj -- --debug-airapp path/to/your/bin/Debug/net10.0
```
## Customize
- Edit `MyWidget.cs` to modify the component UI and behavior
- Edit `airapp.json` to change metadata
- Add more components by creating additional widget classes and registering them in `MyAirApp.cs`