From 1e0a75a2ad8136fb65f0cec2dfe76b106d46084d Mon Sep 17 00:00:00 2001 From: zsyg <3872006562@qq.com> Date: Fri, 13 Jun 2025 11:13:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7acc4b4..48195c7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,65 @@ -# kortapp-z -一个基于C#的开源应用商店 +# AppStore - Windows应用商店 + +![应用图标](img/png/kortapp-z.png) + +一个简单的Windows应用商店应用,提供软件下载和管理功能。 + +## 功能特点 + +- 简洁的软件下载界面 +- 下载进度管理 +- 支持后台下载 +- 美观的应用卡片展示 + +## 构建与打包 + +### 系统要求 +- .NET 8.0 SDK +- Windows 10/11 + +### 打包指令 + +#### 32位版本 +```bash +dotnet publish -c Release -r win-x86 -p:PublishSingleFile=true +``` + +#### 64位版本 +```bash +dotnet publish -c Release -r win-x64 -p:PublishSingleFile=true +``` + +打包后的可执行文件将包含指定的应用程序图标,输出路径为: +``` +bin\Release\net8.0-windows\[platform]\publish +``` + +### 高级选项 +- 添加`--self-contained true`可生成独立包(体积较大) +- 添加`-p:PublishTrimmed=true`可减小包体积(实验性) + +## 项目结构 + +``` +AppStore/ +├── MainForm.cs # 主窗体逻辑 +├── DownloadManager.cs # 下载管理 +├── AppCard.cs # 应用卡片控件 +├── DownloadItem.cs # 下载项控件 +├── img/ # 图片资源 +│ ├── ico/ # 图标文件 +│ └── png/ # 应用截图 +└── resource/ # 资源文件 + └── aria2c.exe # 下载工具 +``` + +## 运行要求 + +- .NET 8.0运行时(如果使用框架依赖发布) +- Windows 10或更高版本 + +## 许可证 + +MIT License + +Copyright (c) 2025 kortapp-z项目组