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:
4 files changed
+8
-6
No files matched your search
@@ -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:
|
||||
|
||||
@@ -11,6 +11,8 @@ const eslintConfig = defineConfig([
|
||||
".next/**",
|
||||
"out/**",
|
||||
"build/**",
|
||||
"release/**",
|
||||
"dist-electron/**",
|
||||
"next-env.d.ts",
|
||||
]),
|
||||
]);
|
||||
|
||||
Generated
+4
-4
@@ -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",
|
||||
|
||||
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user