Skip to content

Commit

Permalink
bugfix: 修复缺少vcruntime导致导入napi-rs模块失败的问题 (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
starknt authored Dec 9, 2024
1 parent e30534c commit 4daeb26
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 67 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ jobs:
dir || ls -lah;
echo "======================================================================";
echo "pnpm install --force";
echo "pnpm install";
echo "--------------------";
pnpm install --force;
pnpm install;
- name: 'npm run electron:build'
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ jobs:
dir || ls -lah;
echo "======================================================================";
echo "pnpm install --force";
echo "pnpm install";
echo "--------------------";
pnpm install --force;
pnpm install;
- name: 'npm run electron:build'
run: |
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@
"@antfu/eslint-config": "^3.9.1",
"eslint": "^9.15.0",
"eslint-plugin-format": "^0.1.2"
},
"pnpm": {
"supportedArchitectures": {
"os": ["current"],
"cpu": ["x64", "arm64", "ia32"]
}
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test": "mocha"
},
"dependencies": {
"@starknt/sysproxy": "^0.0.1",
"@starknt/sysproxy": "^0.0.2",
"@vscode/sudo-prompt": "^9.3.1",
"fix-path": "^3.0.0",
"iconv-lite": "^0.6.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"dependencies": {
"@docmirror/dev-sidecar": "workspace:*",
"@docmirror/mitmproxy": "workspace:*",
"@starknt/shutdown-handler-napi": "^0.0.2",
"@starknt/sysproxy": "^0.0.1",
"@starknt/shutdown-handler-napi": "^0.0.3",
"@starknt/sysproxy": "^0.0.2",
"@vscode/sudo-prompt": "^9.3.1",
"adm-zip": "^0.5.16",
"ant-design-vue": "^1.7.8",
Expand Down
120 changes: 60 additions & 60 deletions pnpm-lock.yaml

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

0 comments on commit 4daeb26

Please sign in to comment.