Skip to content

Commit

Permalink
Merge pull request #49 from shaww855/dev
Browse files Browse the repository at this point in the history
v1.5.3
  • Loading branch information
shaww855 committed Jun 29, 2022
2 parents 432d1f1 + c6ff005 commit 0dddce6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

## [未发布]

## [1.5.3] - 2022-06-29

### 变更
* 修复了错误的文件引入方式导致在win平台上闪退问题

## [1.5.2] - 2022-06-28
### 新增
* Win 平台添加`记住登录状态`引导
Expand All @@ -17,5 +22,6 @@
* 说明文档新增配置文件中`cookies``version`的解释
* 读取配置方式优化,在登录成功后配置储存于运行环境,避免频繁 I/O

[未发布]: https://github.com/shaww855/acfun-live/compare/v1.5.2...HEAD
[未发布]: https://github.com/shaww855/acfun-live/compare/v1.5.3...HEAD
[1.5.3]: https://github.com/shaww855/acfun-live/compare/v1.5.2...1.5.3
[1.5.2]: https://github.com/shaww855/acfun-live/compare/v1.5.1...v1.5.2
3 changes: 2 additions & 1 deletion entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const defaultConfig = {
"cookies": ""
}

global.version = JSON.parse(fs.readFileSync('./package.json', "utf8")).version
const { version } = require('./package.json')
global.version = version

global.platformIsWin = process.platform === 'win32'

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "acfun-live",
"version": "1.5.2",
"version": "1.5.3",
"description": "使用 Puppeteer 开启 acfun 直播监控室,挂牌子!😏",
"main": "index.js",
"bin": "app.js",
Expand Down

0 comments on commit 0dddce6

Please sign in to comment.