Skip to content

Commit 60fa386

Browse files
committed
release: v0.1.2
1 parent b18bdd4 commit 60fa386

File tree

10 files changed

+435
-2240
lines changed

10 files changed

+435
-2240
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# open-claude-cowork
22

3+
## 0.1.2
4+
5+
### Patch Changes
6+
7+
- 发布新的功能
8+
39
## 0.1.1
410

511
### Patch Changes

builder.js

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const buildTarget =
1313
const getMacArch = () => {
1414
if (buildTarget === "darwin-x64") return ["x64"];
1515
if (buildTarget === "darwin-arm64") return ["arm64"];
16-
// darwin (universal) or fallback: build both
17-
return ["x64", "arm64"];
16+
// 只构建 ARM64(现代 macOS 设备主要是 ARM)
17+
return ["arm64"];
1818
};
1919

2020
const dir = buildTarget + "/" + dayjs().format("YYYY_MM_DD_HH_mm_ss");
@@ -51,7 +51,7 @@ const config = {
5151
to: "assets/icons",
5252
},
5353
{
54-
from: "./assets/wallpaper",
54+
from: "./public/assets/wallpaper",
5555
to: "assets/wallpaper",
5656
},
5757
],
@@ -74,10 +74,6 @@ const config = {
7474
target: "dmg",
7575
arch: getMacArch(),
7676
},
77-
{
78-
target: "zip",
79-
arch: getMacArch(),
80-
},
8177
],
8278
},
8379
// MAC Store
@@ -117,8 +113,7 @@ const config = {
117113
win: {
118114
icon: resolve(__dirname, `./public/assets/icons/icon.ico`),
119115
target: [
120-
{ target: "nsis", arch: ["x64", "ia32"] },
121-
{ target: "portable", arch: ["x64"] },
116+
{ target: "nsis", arch: ["x64"] }, // 只构建 x64 版本
122117
],
123118
verifyUpdateCodeSignature: false,
124119
requestedExecutionLevel: "asInvoker",
@@ -137,9 +132,8 @@ const config = {
137132
artifactName: "${productName}-${version}-${env.BUILD_ENV}-portable.${ext}",
138133
},
139134
linux: {
140-
artifactName: "${productName}-${version}-${env.BUILD_ENV}.${ext}",
135+
artifactName: "${productName}-${version}-${env.BUILD_ENV}-${arch}.${ext}",
141136
target: [
142-
{ target: "AppImage", arch: ["x64", "arm64"] },
143137
{ target: "deb", arch: ["x64", "arm64"] },
144138
{ target: "rpm", arch: ["x64", "arm64"] },
145139
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "open-claude-cowork",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"main": "./release/dist/main/index.js",
55
"scripts": {
66
"dev": "cross-env NODE_ENV=development plop",

0 commit comments

Comments
 (0)