Skip to content

Commit

Permalink
🚀 v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
BTMuli committed Apr 17, 2024
1 parent 4981236 commit 54dee3a
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build Release(Dev)

on:
workflow_dispatch:
push:
tags:
- 'v*.*.*'
Expand All @@ -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:
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -89,5 +96,6 @@ jobs:
artifacts: |
BangumiToday.zip
BTMuli.cer
BangumiToday(SignPath).msix
draft: true
BangumiToday.msix
draft: true
prerelease: true
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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/) 播放视频文件
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
> **项目目前处于开发阶段,不保证稳定性。**
<div align="center">
<div style="display:flex;justify-content:center;align-items:center">
<img alt="logo" src="./assets/images/logo.png" width="256" />
</div>

Expand Down Expand Up @@ -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) 证书导入到系统。

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 54dee3a

Please sign in to comment.