Skip to content

Commit

Permalink
release v1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Beats0 committed Mar 5, 2022
1 parent 5e24f2a commit becb3ef
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## v1.0.6

- electron 版本更新,使用reduxjs/toolkit状态管理,功能优化
- 移除礼物弹幕过渡动画
- 添加自定义字体功能
- 优化置顶功能
- 优化顶部栏拖动功能
- 优化点击弹幕朗读队列
- 替换版本号api

## v1.0.5

- 弹幕翻译已被废弃
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@

[下载 Release](https://github.com/Beats0/bilive-danmaku/releases)

输入房间号: 在锁定情况下,输入 RoomID 即可

拖动: 在非锁定情况下,按住并拖动顶部即可
输入房间号 RoomID 后,回车提交即可连接

### 功能

Expand Down
10 changes: 1 addition & 9 deletions README_DEV.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,12 @@ $ yarn start

打包 package

默认打包将输出到 release 文件夹中

```sh
# 打包
$ yarn package
```

## 已知 BUG

- mac dev 模式无法使用透明背景, 生产模式又可以了= =,不影响功能

参考

[mac os 无法使用透明背景](https://github.com/electron/electron/issues/20357)
默认打包将输出到 release 文件夹中

## 快速生成icns图标

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bilive-danmaku",
"productName": "bilive-danmaku",
"version": "1.0.5",
"version": "1.0.6",
"ElectronReactVersion": "1.1.0",
"description": "bilibili live danmaku client",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bilive-danmaku",
"version": "1.0.5",
"version": "1.0.6",
"description": "bilibili live danmaku client",
"main": "./dist/main/main.js",
"author": {
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/components/Danmaku/MsgEntity/MsgDanmu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function MsgDanmu(props: DanmakuMsg) {

// 屏蔽用户
const handleBlockUser = (uid: number) => {
let { blockUserLists } = config;
let blockUserLists = JSON.parse(JSON.stringify(config.blockUserLists));
blockUserLists.push(uid);
blockUserLists = [...new Set(blockUserLists)];
dispatch(updateConfig({ k: ConfigKey.blockUserLists, v: blockUserLists }));
Expand All @@ -75,7 +75,7 @@ function MsgDanmu(props: DanmakuMsg) {

// 屏蔽对应弹幕文字
const handleBlockDanmaku = (text: string) => {
let { blockDanmakuLists } = config;
let blockDanmakuLists = JSON.parse(JSON.stringify(config.blockDanmakuLists));
blockDanmakuLists.push(text);
blockDanmakuLists = [...new Set(blockDanmakuLists)];
dispatch(updateConfig({ k: ConfigKey.blockDanmakuLists, v: blockDanmakuLists }));
Expand Down

0 comments on commit becb3ef

Please sign in to comment.