Skip to content

Commit

Permalink
更新不同架构的依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoyia committed Jul 29, 2024
1 parent ed5c29d commit 7b1c2a9
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,6 @@ export interface Config {
savePath?: string // 保存文件的路径
bgFile?: string // 背景图片路径,暂不支持设置rgba的背景颜色,后续考虑支持
}
```
```

![](./__test__/group_avatar.png)
3 changes: 3 additions & 0 deletions npm/darwin-arm64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `group-avatar-rs-darwin-arm64`

This is the **aarch64-apple-darwin** binary for `group-avatar-rs`
18 changes: 18 additions & 0 deletions npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "group-avatar-rs-darwin-arm64-msvc",
"version": "1.0.1",
"os": [
"darwin"
],
"cpu": [
"arm64"
],
"main": "group-avatar-rs.darwin-arm64.node",
"files": [
"group-avatar-rs.darwin-arm64.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
}
}
3 changes: 3 additions & 0 deletions npm/darwin-x64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `group-avatar-rs-darwin-x64`

This is the **x86_64-apple-darwin** binary for `group-avatar-rs`
18 changes: 18 additions & 0 deletions npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "group-avatar-rs-darwin-x64-msvc",
"version": "1.0.1",
"os": [
"darwin"
],
"cpu": [
"x64"
],
"main": "group-avatar-rs.darwin-x64.node",
"files": [
"group-avatar-rs.darwin-x64.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
}
}
37 changes: 34 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
"build": "napi build --platform --release",
"build-ia32": "napi build --platform --release --target=i686-pc-windows-msvc",
"build-x86_64": "napi build --platform --release --target=x86_64-pc-windows-msvc",
"build-x86_64-apple": "napi build --platform --release --target=x86_64-apple-darwin",
"build-aarch64-apple": "napi build --platform --release --target=aarch64-apple-darwin",
"build:debug": "napi build --platform",
"prepublishOnly": "napi prepublish -t npm",
"test": "ava",
Expand Down

0 comments on commit 7b1c2a9

Please sign in to comment.