Skip to content

Commit fb6744d

Browse files
feat(cli.js): add 32bit cli for windows (#3540)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent e694dd6 commit fb6744d

File tree

5 files changed

+32
-1
lines changed

5 files changed

+32
-1
lines changed

.changes/cli.js-windows-32bit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"cli.js": patch
3+
---
4+
5+
Added `i686-pc-windows-msvc` to the prebuilt targets.

.github/workflows/publish-cli.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
build: yarn build
2929
target: x86_64-pc-windows-msvc
3030
architecture: x64
31+
- host: windows-latest
32+
build: yarn build --target i686-pc-windows-msvc
33+
target: i686-pc-windows-msvc
34+
architecture: x64
3135
- host: ubuntu-18.04
3236
target: x86_64-unknown-linux-gnu
3337
architecture: x64
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# `@tauri-apps/cli-win32-ia32-msvc`
2+
3+
This is the **i686-pc-windows-msvc** binary for `@tauri-apps/cli`
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "@tauri-apps/cli-win32-ia32-msvc",
3+
"version": "0.0.0",
4+
"os": [
5+
"win32"
6+
],
7+
"cpu": [
8+
"ia32"
9+
],
10+
"main": "cli.win32-ia32-msvc.node",
11+
"files": [
12+
"cli.win32-ia32-msvc.node"
13+
],
14+
"license": "MIT",
15+
"engines": {
16+
"node": ">= 10"
17+
}
18+
}

tooling/cli/node/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"aarch64-unknown-linux-gnu",
3232
"aarch64-unknown-linux-musl",
3333
"armv7-unknown-linux-gnueabihf",
34-
"x86_64-unknown-linux-musl"
34+
"x86_64-unknown-linux-musl",
35+
"i686-pc-windows-msvc"
3536
]
3637
}
3738
},

0 commit comments

Comments
 (0)