Skip to content

Commit 7921357

Browse files
JusterZhuclaude
andcommitted
docs: add Bilibili demo videos to cookbook pages
- GeneralUpdate.Tools Mobile: Android packaging demo (BV1ctJF6XEJs) - Avalonia Android cookbook: upgrade demo (BV1HtJF6XET3) - MAUI Android cookbook: upgrade demo (BV1ntJF6XEvG) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 121215a commit 7921357

6 files changed

Lines changed: 54 additions & 0 deletions

File tree

website/docs/quickstart/Avalonia Android cookbook.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ title: Avalonia Android 实战手册
77

88
这篇手册面向需要在 Avalonia 应用中集成 Android APK 自动更新的开发者。目标是用最少的代码跑通"检查更新 → 下载 APK → 校验 SHA256 → 启动安装器"的完整流程。
99

10+
<iframe
11+
src="//player.bilibili.com/player.html?bvid=BV1HtJF6XET3&page=1"
12+
width="100%"
13+
height="480"
14+
style={{ borderRadius: '8px', border: 'none' }}
15+
allowFullScreen
16+
scrolling="no"
17+
/>
18+
1019
:::info 前置知识
1120
这篇手册假设你已经有一个 Avalonia 项目并配置好了 Android 目标框架。如果你还没有 Avalonia Android 项目,请先参考 [Avalonia 官方文档](https://docs.avaloniaui.net/) 创建。
1221
:::

website/docs/quickstart/GeneralUpdate.PacketTool.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,15 @@ Generate Sample 额外输出:
332332

333333
如果你使用 `GeneralUpdate.Avalonia.Android``GeneralUpdate.Maui.Android` 组件为 Android 应用提供自动更新能力,每次发布新版本时都需要获取 APK/AAB 文件的元数据(包名、版本号、SHA256 哈希、文件大小),并将其上传到服务端进行版本管理。Mobile 模块把"解析 → 打包 → 上传 → 生成版本记录"这四步收敛到一个界面中。
334334

335+
<iframe
336+
src="//player.bilibili.com/player.html?bvid=BV1ctJF6XEJs&page=1"
337+
width="100%"
338+
height="480"
339+
style={{ borderRadius: '8px', border: 'none' }}
340+
allowFullScreen
341+
scrolling="no"
342+
/>
343+
335344
支持两种工作模式:
336345

337346
- **文件模式**:直接选择 APK 或 AAB 文件,自动解析 AndroidManifest.xml 提取元数据

website/docs/quickstart/Maui Android cookbook.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ title: MAUI Android 实战手册
77

88
这篇手册面向需要在 MAUI 应用中集成 Android APK 自动更新的开发者。目标是用最少的代码跑通"检查更新 → 下载 APK → 校验 SHA256 → 启动安装器"的完整流程。
99

10+
<iframe
11+
src="//player.bilibili.com/player.html?bvid=BV1ntJF6XEvG&page=1"
12+
width="100%"
13+
height="480"
14+
style={{ borderRadius: '8px', border: 'none' }}
15+
allowFullScreen
16+
scrolling="no"
17+
/>
18+
1019
:::info 前置知识
1120
这篇手册假设你已经有一个 .NET MAUI 项目并配置好了 Android 目标框架。如果你还没有 MAUI Android 项目,请先参考 [.NET MAUI 官方文档](https://learn.microsoft.com/dotnet/maui/) 创建。
1221
:::

website/i18n/en/docusaurus-plugin-content-docs/current/quickstart/Avalonia Android cookbook.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ title: Avalonia Android Cookbook
77

88
This guide is for developers who need to integrate Android APK auto-update into their Avalonia applications. The goal is to complete the "check update → download APK → verify SHA256 → launch installer" workflow with minimal code.
99

10+
<iframe
11+
src="//player.bilibili.com/player.html?bvid=BV1HtJF6XET3&page=1"
12+
width="100%"
13+
height="480"
14+
style={{ borderRadius: '8px', border: 'none' }}
15+
allowFullScreen
16+
scrolling="no"
17+
/>
18+
1019
:::info Prerequisites
1120
This guide assumes you already have an Avalonia project configured for Android target framework. If not, please refer to the [Avalonia documentation](https://docs.avaloniaui.net/) first.
1221
:::

website/i18n/en/docusaurus-plugin-content-docs/current/quickstart/GeneralUpdate.PacketTool.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,15 @@ In the **OSS Config** module, click **ComputeHash**, select a local ZIP file, an
312312

313313
If you use `GeneralUpdate.Avalonia.Android` or `GeneralUpdate.Maui.Android` to provide auto-update for your Android apps, each release requires extracting APK/AAB metadata (package name, version, SHA256 hash, file size) and uploading it to the server for version management. The Mobile module consolidates "parse → package → upload → generate version record" into a single interface.
314314

315+
<iframe
316+
src="//player.bilibili.com/player.html?bvid=BV1ctJF6XEJs&page=1"
317+
width="100%"
318+
height="480"
319+
style={{ borderRadius: '8px', border: 'none' }}
320+
allowFullScreen
321+
scrolling="no"
322+
/>
323+
315324
Supports two modes:
316325

317326
- **File mode**: Select an APK or AAB file directly; the tool automatically parses AndroidManifest.xml to extract metadata.

website/i18n/en/docusaurus-plugin-content-docs/current/quickstart/Maui Android cookbook.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ title: MAUI Android Cookbook
77

88
This guide is for developers who need to integrate Android APK auto-update into their .NET MAUI applications. The goal is to complete the "check update → download APK → verify SHA256 → launch installer" workflow with minimal code.
99

10+
<iframe
11+
src="//player.bilibili.com/player.html?bvid=BV1ntJF6XEvG&page=1"
12+
width="100%"
13+
height="480"
14+
style={{ borderRadius: '8px', border: 'none' }}
15+
allowFullScreen
16+
scrolling="no"
17+
/>
18+
1019
:::info Prerequisites
1120
This guide assumes you already have a .NET MAUI project configured for Android target framework. If not, please refer to the [.NET MAUI documentation](https://learn.microsoft.com/dotnet/maui/) first.
1221
:::

0 commit comments

Comments
 (0)