Skip to content

Commit

Permalink
fix: 修正直播间没有关闭按钮以及关闭窗口有错误弹窗 #147
Browse files Browse the repository at this point in the history
  • Loading branch information
msojocs committed Jan 4, 2025
1 parent e508f16 commit e6f2ae5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 🌈 v1.16.1-3 / 2025-01-04

## 🚀 功能

- 直播间: 修正没有关闭按钮。
- 直播间: 屏蔽关闭窗口出现的报错。

# 🌈 v1.16.1-2 / 2024-12-28

## 🚀 功能
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bilibili-linux",
"version": "1.13.6-2",
"version": "1.16.1-3",
"description": "bilibili client",
"main": "index.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions res/scripts/injectIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,3 +418,7 @@ app.whenReady().then(() => {
global["bootstrapApp"]()
})

// https://github.com/msojocs/bilibili-linux/issues/147
process.on('uncaughtException', () => {

})
6 changes: 3 additions & 3 deletions tools/fix-other.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ sed -i 's#process.resourcesPath#path.dirname(this.app.getAppPath())#' app/node_m
notice "====Bili Bridge===="
notice "inject"
cat "$root_dir/res/scripts/injectBridge.js" > "app/main/assets/temp.js"
cat "app/main/assets/bili-bridge.js" >> "app/main/assets/temp.js"
rm "app/main/assets/bili-bridge.js"
mv "app/main/assets/temp.js" "app/main/assets/bili-bridge.js"
cat "app/main/assets/bili-inject.js" >> "app/main/assets/temp.js"
rm "app/main/assets/bili-inject.js"
mv "app/main/assets/temp.js" "app/main/assets/bili-inject.js"
cp "$root_dir/res/protos/dynamic.proto" "app/main/assets/protos/dynamic.proto"
mkdir tmp
cd tmp
Expand Down
2 changes: 1 addition & 1 deletion tools/js-decode-helper.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
root_dir=$(cd `dirname $0`/.. && pwd -P)

node $root_dir/tools/js-decode.js $root_dir/app/app/main/app.orgi.js $root_dir/app/app/main/app.js
node $root_dir/tools/js-decode.js $root_dir/app/app/main/assets/bili-preload.orgi.js $root_dir/app/app/main/assets/bili-preload.js
DEBUG=2 bin/bilibili

0 comments on commit e6f2ae5

Please sign in to comment.