building intel mac app (#878)
Co-authored-by: Max Novich <mnovich@squareup.com>
This commit is contained in:
@@ -54,8 +54,9 @@ module.exports = {
|
||||
name: '@electron-forge/maker-zip',
|
||||
platforms: ['darwin', 'win32'],
|
||||
config: {
|
||||
options: {
|
||||
icon: 'src/images/icon.ico'
|
||||
arch: process.env.ELECTRON_ARCH === 'x64' ? ['x64'] : ['arm64'],
|
||||
options: {
|
||||
icon: 'src/images/icon.ico'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"make": "electron-forge make",
|
||||
"bundle:default": "npm run make && cd out/Goose-darwin-arm64 && ditto -c -k --sequesterRsrc --keepParent Goose.app Goose.zip",
|
||||
"bundle:windows": "npm run make -- --platform=win32 --arch=x64 && node scripts/copy-windows-dlls.js",
|
||||
"bundle:intel": " npm run make -- --arch=x64 && cd out/Goose-darwin-x64 && ditto -c -k --sequesterRsrc --keepParent Goose.app Goose_intel_mac.zip",
|
||||
"debug": "echo 'run --remote-debugging-port=8315' && lldb out/Goose-darwin-arm64/Goose.app",
|
||||
"test-e2e": "electron-forge start > /tmp/out.txt & ELECTRON_PID=$! && sleep 12 && if grep -q 'renderer: ChatWindow loaded' /tmp/out.txt; then echo 'process is running'; pkill -f electron; else echo 'not starting correctly'; cat /tmp/out.txt; pkill -f electron; exit 1; fi",
|
||||
"lint": "eslint \"src/**/*.{ts,tsx}\" --fix",
|
||||
|
||||
Reference in New Issue
Block a user