poi-plugin-thief-akashi 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +17 -0
  2. package/index.js +2 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -0,0 +1,17 @@
1
+ # 明石小偷
2
+
3
+ poi 插件,提供明石/野崎独立计时窗口,可调整字号和分别显示两种计时。
4
+
5
+ ## poi 版本兼容
6
+
7
+ 0.3.3 使用 poi 11 和 12 共有的 `views/env-parts/config` 配置入口,修复 0.3.2 在 poi 11 上初始化失败、无法打开窗口的问题。设置的存储键保持不变。
8
+
9
+ 已核对 poi 11.1.0 源码和本机 poi 12.0.1 的配置接口,并通过模拟宿主的加载、配置读取、游戏事件、弹窗及卸载/重载测试。尚未完成两版客户端内的实际游戏验证。
10
+
11
+ ## 开发验证
12
+
13
+ ```sh
14
+ npm ci
15
+ npm run check
16
+ npm test
17
+ ```
package/index.js CHANGED
@@ -13,7 +13,8 @@ let popup = null;
13
13
  exports.settingsClass = createSettingsView(React, settings);
14
14
  exports.handleClick = () => popup.open();
15
15
  exports.pluginDidLoad = () => {
16
- settings.start(require('views/env').config);
16
+ // This config module is shared by poi 11 and 12.
17
+ settings.start(require('views/env-parts/config').config);
17
18
  runtime.start(window);
18
19
  popup = createPopup(runtime, settings, require('@electron/remote').BrowserWindow);
19
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poi-plugin-thief-akashi",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "编队白嫖明石/野崎计时工具",
5
5
  "main": "index.js",
6
6
  "files": [