Skip to content

Commit

Permalink
feat(cli.js): add 32bit cli for windows (#3540)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
  • Loading branch information
FabianLars and lucasfernog committed Feb 24, 2022
1 parent e694dd6 commit fb6744d
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/cli.js-windows-32bit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cli.js": patch
---

Added `i686-pc-windows-msvc` to the prebuilt targets.
4 changes: 4 additions & 0 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
build: yarn build
target: x86_64-pc-windows-msvc
architecture: x64
- host: windows-latest
build: yarn build --target i686-pc-windows-msvc
target: i686-pc-windows-msvc
architecture: x64
- host: ubuntu-18.04
target: x86_64-unknown-linux-gnu
architecture: x64
Expand Down
3 changes: 3 additions & 0 deletions tooling/cli/node/npm/win32-ia32-msvc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# `@tauri-apps/cli-win32-ia32-msvc`

This is the **i686-pc-windows-msvc** binary for `@tauri-apps/cli`
18 changes: 18 additions & 0 deletions tooling/cli/node/npm/win32-ia32-msvc/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "@tauri-apps/cli-win32-ia32-msvc",
"version": "0.0.0",
"os": [
"win32"
],
"cpu": [
"ia32"
],
"main": "cli.win32-ia32-msvc.node",
"files": [
"cli.win32-ia32-msvc.node"
],
"license": "MIT",
"engines": {
"node": ">= 10"
}
}
3 changes: 2 additions & 1 deletion tooling/cli/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"armv7-unknown-linux-gnueabihf",
"x86_64-unknown-linux-musl"
"x86_64-unknown-linux-musl",
"i686-pc-windows-msvc"
]
}
},
Expand Down

0 comments on commit fb6744d

Please sign in to comment.