feat: support x64/arm64 macOS builds and fix build script errors (#7)

feat: support x64/arm64 macOS builds and fix build script errors
This commit is contained in:
歸藏 authored and GitHub committed 2026-02-07 22:15:34 +08:00
commit f870b5d9c1
4 files changed
+8 -6

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ mac:
category: public.app-category.developer-tools
target:
- target: dmg
arch: [arm64]
arch: [arm64, x64]
win:
icon: build/icon.ico
target:
+2
View File
@@ -11,6 +11,8 @@ const eslintConfig = defineConfig([
".next/**",
"out/**",
"build/**",
"release/**",
"dist-electron/**",
"next-env.d.ts",
]),
]);
+4 -4
View File
@@ -1,12 +1,12 @@
{
"name": "opus-4.6-test",
"version": "0.1.0",
"name": "codepilot",
"version": "0.2.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "opus-4.6-test",
"version": "0.1.0",
"name": "codepilot",
"version": "0.2.2",
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.33",
"@hugeicons/core-free-icons": "^3.1.1",
+1 -1
View File
@@ -15,7 +15,7 @@ function resolveStandaloneSymlinks() {
const target = fs.readlinkSync(fullPath);
const resolved = path.resolve(standaloneModules, target);
if (fs.existsSync(resolved)) {
fs.rmSync(fullPath);
fs.rmSync(fullPath, { recursive: true, force: true });
fs.cpSync(resolved, fullPath, { recursive: true });
console.log(`Resolved symlink: ${entry} -> ${target}`);
}