maactl 0.1.1 → 0.2.0
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.
- package/README.md +4 -2
- package/package.json +2 -2
- package/vendor/maactl.exe +0 -0
package/README.md
CHANGED
|
@@ -20,7 +20,8 @@ npx maactl -- run task "自动挂机卖蛋" -f D:\01_Projects\github\MaaMio --st
|
|
|
20
20
|
## 平台
|
|
21
21
|
|
|
22
22
|
只提供 Windows amd64 的 `maactl.exe`(自带 MaaFramework 运行库)。包内声明了
|
|
23
|
-
`"os": ["win32"]`,在其他系统上 npm 会以 `EBADPLATFORM`
|
|
23
|
+
`"os": ["win32"]`,在其他系统上 npm 会以 `EBADPLATFORM` 拒绝安装;同时声明了
|
|
24
|
+
`"engines": { "node": ">=22" }`,因为包装器只用 Node 22 及以上提供的内置能力。
|
|
24
25
|
|
|
25
26
|
## maactl.exe 的来源
|
|
26
27
|
|
|
@@ -59,4 +60,5 @@ npm install -g .
|
|
|
59
60
|
maactl --version
|
|
60
61
|
```
|
|
61
62
|
|
|
62
|
-
完整的命令说明见 [MaaCtl
|
|
63
|
+
完整的命令说明见 [MaaCtl 命令行参考](https://github.com/TanyaShue/MaaCtl/blob/main/docs/cli.md),
|
|
64
|
+
安装方式见 [主仓库 README](https://github.com/TanyaShue/MaaCtl#readme)。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maactl",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "MaaFramework / ProjectInterface v2 command-line client, runnable with npx on Windows",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"maactl",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"prepublishOnly": "npm test && npm run check:vendor"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=22"
|
|
44
44
|
},
|
|
45
45
|
"os": [
|
|
46
46
|
"win32"
|
package/vendor/maactl.exe
CHANGED
|
Binary file
|