sys-shim-bin 0.0.2-1 → 0.0.2-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.
package/dist/main.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sys-shim-bin",
3
- "version": "0.0.2-1",
3
+ "version": "0.0.2-3",
4
4
  "description": "把系统 api 封装为可执行程序,并提供服务供 webview 调用。",
5
5
  "types": "./index.d.ts",
6
6
  "type": "module",
@@ -18,16 +18,18 @@
18
18
  "files": [
19
19
  "dist"
20
20
  ],
21
- "scripts": {
22
- "build": "node build.js",
23
- "test": "echo \"Error: no test specified\" && exit 1"
24
- },
25
- "keywords": ["webview"],
21
+ "keywords": [
22
+ "webview"
23
+ ],
26
24
  "author": "wll8",
27
25
  "license": "ISC",
28
26
  "devDependencies": {
29
27
  "@rollup/plugin-node-resolve": "^15.2.3",
30
28
  "rollup": "^4.17.2",
31
29
  "shx": "^0.3.4"
30
+ },
31
+ "scripts": {
32
+ "build": "node build.js",
33
+ "test": "echo \"Error: no test specified\" && exit 1"
32
34
  }
33
- }
35
+ }
package/readme.md CHANGED
@@ -5,15 +5,19 @@
5
5
 
6
6
  ## 开发
7
7
 
8
- ```sh
9
- # 使用 ide 编译出 exe
8
+ ```bat
9
+ :: 使用 ide 编译出 main.exe
10
10
 
11
- # 进入 script 目录
11
+ :: 进入 script 目录
12
12
  cd script
13
13
 
14
- # 安装依赖
14
+ :: 安装依赖
15
15
  pnpm i
16
16
 
17
- # 生成 npm 包
17
+ :: 生成 npm 包
18
18
  pnpm build
19
19
  ```
20
+
21
+ ## 如果没有编译环境
22
+
23
+ 如果没有编译环境可以直接下载已编译好的最新 main.exe 文件, 从 https://registry.npmmirror.com/sys-shim-bin/-/sys-shim-bin-0.0.2-1.tgz 链接下载并解压里面的 dist 到 script/ 下.