Skip to content

Commit

Permalink
累积的更新
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanxven committed Nov 4, 2024
1 parent 7f1ac0d commit a865f52
Show file tree
Hide file tree
Showing 454 changed files with 28,926 additions and 32,260 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
branches:
- main
- dev
- refactor
workflow_dispatch:

jobs:
Expand Down
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@ out
*.log*
examples
images
.git-origin

picacg
jmcomic2
lucky-star
addons-new/build
addons/build
8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/inspectionProfiles/profiles_settings.xml

This file was deleted.

15 changes: 0 additions & 15 deletions .idea/league-akari.iml

This file was deleted.

4 changes: 0 additions & 4 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/prettier.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

Binary file modified .yarn/install-state.gz
Binary file not shown.
894 changes: 0 additions & 894 deletions .yarn/releases/yarn-4.3.1.cjs

This file was deleted.

934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.5.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.1.cjs
yarnPath: .yarn/releases/yarn-4.5.1.cjs
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@

- [TODO] 重写了模块的组织方式。

# v1.3.0 DRAFT
- [TODO] 对局页面添加一个截图到剪贴板的按钮。

- [TODO] 对局页面降低对比度, 对局页面添加召唤师等级。

- [CHANGED] 移除对局中自动路由功能。

- [CHANGED] 移除战绩页面的拉取详细对局功能,现在是默认行为。

# v1.3.0 Sakurako DRAFT

## 修复

Expand Down
45 changes: 19 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ Gitee 镜像站点:[https://gitee.com/Hanxven/LeagueAkari](https://gitee.com/H

支持腾讯服以及非腾讯服客户端。

一旦检测到游戏客户端,则会自动连接。无需考虑启动顺序。

League Akari 会很好地处理中途启动的情况。
> [!NOTE]
> 一旦检测到游戏客户端,则会自动连接。无需考虑启动顺序。
> League Akari 会很好地处理中途启动的情况。
## 1.3 企鹅群组

Expand Down Expand Up @@ -100,11 +100,11 @@ dev:`yarn dev`

build(for Windows only): `yarn build:win`

## 3.2 Node Addon
## 3.2 Node 原生模块

需要 MSVC 编译环境和 `node-gyp`

Node Addons 使 League Akari 具备更强大的功能,因为它为其提供了操作系统级 API 的调用入口。
Node Addons 使 League Akari 具备更强大的功能,因为它为其提供了操作系统级 API 的调用入口。这些模块位于 `addons/` 下。

如果你修改了 `addons/*` 下的模块内容,请重新编译。

Expand All @@ -117,31 +117,24 @@ node-gyp configure
node-gyp build
```

之后将 `la-input-win64.node` 以及 `la-tools-win64.node` 复制到应用源码 `src/main/native` 下,并更新类型定义 `src/main/node-addon.d.ts`

# 4. 参考

League Akari 的实现参考了许多现有的优秀开源项目,这些项目为软件的部分模块开发提供了清晰的思路指导,特此表示感谢。❤️

- [LCU API 文档 1](https://www.mingweisamuel.com/lcu-schema/tool/#/)

- [LCU 文档 - League of Legends LCU and Riot Client API Docs](https://github.com/KebsCS/lcu-and-riotclient-api)

- [Community Dragon](https://www.communitydragon.org/documentation/assets)

- [Pengu Loader - ✨ The ultimate JavaScript plugin loader, build your unmatched LoL Client.](https://github.com/PenguLoader/PenguLoader)

- [Seraphine - 英雄联盟战绩查询工具](https://github.com/Zzaphkiel/Seraphine)

- [lol-helper - 英雄联盟工具,LCU API,一键喊话,战绩查询,一键发送战绩,更改段位显示,更改背景页,牛马/上等马/下等马,彩虹屁,禁用英雄 ,秒选英雄,解锁炫彩皮肤等](https://github.com/4379711/lol-helper)

- [Joi - 一个英雄联盟助手工具](https://github.com/watchingfun/Joi)

- [fix-lcu-window - 解决《英雄联盟》客户端异常窗口大小的问题。](https://github.com/LeagueTavern/fix-lcu-window)

- [vscode-league-respawn-timer - An extension to display League of Legends player respawn time in Visual Studio Code.](https://github.com/Coooookies/vscode-league-respawn-timer)

- [LeaguePrank](https://github.com/LeagueTavern/LeaguePrank)

- [frank - A bran-new League of Legends assistant software, a replacement for WeGame.](https://github.com/Java-S12138/frank)
| 项目名称 | 描述 |
| --- | --- |
| ⭐⭐⭐ [Pengu Loader](https://github.com/PenguLoader/PenguLoader) | 用于 UX 客户端调试和逆向工程工具 |
| ⭐⭐⭐ [League of Legends LCU and Riot Client API Docs](https://github.com/KebsCS/lcu-and-riotclient-api) | LCU API 文档参考 |
| ⭐⭐ [Community Dragon](https://www.communitydragon.org/documentation/assets) | 资源管理和参考文档 |
| ⭐⭐ [Seraphine](https://github.com/Zzaphkiel/Seraphine) | 缝合重灾区,提供了集成思路 |
|[fix-lcu-window](https://github.com/LeagueTavern/fix-lcu-window) | 修复客户端窗口大小问题的思路借鉴 |
|[Joi](https://github.com/watchingfun/Joi) | OP.GG 相关实现的参考 |
|[lol-helper](https://github.com/4379711/lol-helper) | (曾经的) 卡炫彩功能和工具设计的参考 |
|[vscode-league-respawn-timer](https://github.com/Coooookies/vscode-league-respawn-timer) | 重生倒计时功能的参考 |
|[LeaguePrank](https://github.com/LeagueTavern/LeaguePrank) | 趣味功能的实现参考 |
|[LCU API](https://www.mingweisamuel.com/lcu-schema/tool/#/) | LCU API 早期参考文档 |

# 5. FAQ - 常见问题及回答

Expand Down
23 changes: 23 additions & 0 deletions addons/binding.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"targets": [
{
"target_name": "la-input-win64",
"sources": ["la_input.cc"],
"cflags!": ["-fno-exceptions"],
"cflags_cc!": ["-fno-exceptions"],
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
"include_dirs": ["<!@(node -p \"require('node-addon-api').include\")"],
"dependencies": ["<!(node -p \"require('node-addon-api').gyp\")"],
"libraries": [],
},
{
"target_name": "la-tools-win64",
"cflags!": ["-fno-exceptions"],
"cflags_cc!": ["-fno-exceptions"],
"sources": ["la_tools.cc"],
"include_dirs": ["<!@(node -p \"require('node-addon-api').include\")"],
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
"libraries": ["-lntdll"],
},
]
}
40 changes: 0 additions & 40 deletions addons/input/.vscode/settings.json

This file was deleted.

14 changes: 0 additions & 14 deletions addons/input/binding.gyp

This file was deleted.

Loading

0 comments on commit a865f52

Please sign in to comment.