diff --git a/.github/workflows/release_dev.yml b/.github/workflows/release.yml similarity index 92% rename from .github/workflows/release_dev.yml rename to .github/workflows/release.yml index fbb93a4..d6ea2ff 100644 --- a/.github/workflows/release_dev.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Build Release(Dev) on: + workflow_dispatch: push: tags: - 'v*.*.*' @@ -9,8 +10,11 @@ jobs: build: name: Build Windows runs-on: windows-latest + permissions: + contents: write env: TOKEN: ${{ secrets.SIGN_PATH_TOKEN }} + BANGUMI_APP_ID: ${{ secrets.BANGUMI_APP_ID }} BANGUMI_APP_SECRET: ${{ secrets.BANGUMI_APP_SECRET }} steps: @@ -40,6 +44,9 @@ jobs: Add-Content -Path .env -Value "BANGUMI_APP_ID=${env:BANGUMI_APP_ID}" Add-Content -Path env -Value "BANGUMI_APP_SECRET=${env:BANGUMI_APP_SECRET}" + - name: 打包 + run: flutter build windows + - name: 打包msix run: dart run msix:create --sign-msix false @@ -89,5 +96,6 @@ jobs: artifacts: | BangumiToday.zip BTMuli.cer - BangumiToday(SignPath).msix - draft: true \ No newline at end of file + BangumiToday.msix + draft: true + prerelease: true \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..2ac604e --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,36 @@ +--- +Author: 目棃 +Description: 更新日志 +Date: 2024-04-17 +Update: 2024-04-17 +--- + +> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-04-17 17:46:42` +> +> 更新于 `2024-04-17 17:46:42` + +## [v0.1.0](https://github.com/BTMuli/BangumiToday/releases/tag/v0.1.0) (2024-04-17) + +BangumiToday 的第一个版本,实现了基本的功能。 + +### Bangumi 相关 + +- [x] 今日放送:支持查看今日的番剧放送情况,登录后支持只显示订阅的番剧 +- [x] 用户界面:用于登录 Bangumi 账号,获取订阅的番剧 +- [x] 用户收藏:支持查看用户收藏的番剧 +- [x] 条目搜索:支持根据条目类型和关键字搜索条目 +- [x] 条目详情:支持查看条目的详细信息,包括评分、简介、关联条目等 +- [x] 进度管理:支持获取&修改条目的观看进度/收藏状态/评分,**暂不支持取消条目收藏** +- [x] 数据源:依赖 [Bangumi-data](https://github.com/bangumi-data/bangumi-data) 作为数据源,用于显示放送时间&条目播放平台 + +### RSS 相关 + +- [x] MikanRSS:支持查看 MikanRSS 更新,添加 `token` 后支持查看订阅的番剧的更新 +- [x] ComicatRSS:支持查看 Comicat 的 RSS 更新 + +### 应用配置相关 + +- [x] 设置:支持设置应用的一些配置,如主题、主题色等 +- [x] 数据:应用采用 BMF(Bangumi-Mikan-File)配置数据,在条目详情页支持查看条目的 BMF 数据并进行操作,也可以到单独的页面查看所有的 BMF 数据 +- [x] BMF操作:支持对 BMF 数据进行增删改操作,支持调用 [Motrix](https://github.com/agalwood/Motrix) 将 `torrent` 下载到指定目录 +- [x] BMF操作:支持调用 [PotPlayer](https://potplayer.daum.net/) 播放视频文件 diff --git a/README.md b/README.md index 71d47a4..c6d0686 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ Update: 2024-04-17 > 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-04-11 12:06:15` > -> 更新于 `2024-04-17 16:58:40` +> 更新于 `2024-04-17 18:06:17` > **项目目前处于开发阶段,不保证稳定性。** -
+
logo
@@ -46,16 +46,19 @@ dart run msix:create --sign-msix true ## 发行 +> 项目更新日志请查看 [CHANGELOG.md](./CHANGELOG.md) + 应用预期会有如下几个发行渠道: +- [Github Release](https://github.com/BTMuli/BangumiToday/releases):包括打包后的 `zip` 和 `msix` 文件(`msix` 视情况包括签名文件)。 - `GitHub Release`:包括打包后的 `zip` 和 `msix` 文件(`msix` 视情况包括签名文件)。 - `Microsoft Store`:如果没有申请到 SignPath 的 OSS,应用将会发行到 Microsoft Store。 > 在这种情况下,Github Release 会提供用于上传到 Microsoft Store 的 `msix` 文件。 -- `Github Action`: CI 测试,如果没有申请到 SignPath 的 OSS,该渠道会废弃或者仅包括 `zip` 文件。 +- `Github Action`: 通过 Github Action 自动打包并发布到 Github Release。~~还在测试中~~ ## 关于证书 -> 截止 2024-04-15,应用使用的证书为自签名证书,需要将证书导入到系统。 +> 截止 2024-04-17,应用使用的证书为自签名证书,需要将证书导入到系统。 为了正常安装应用,需要将 [BTMuli.cer](./BTMuli.cer) 证书导入到系统。 diff --git a/pubspec.yaml b/pubspec.yaml index 11a8f65..d654dd8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.1.0+1 +version: 0.1.0+2 environment: sdk: '>=3.3.0 <4.0.0'