Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthemanuel committed Dec 1, 2022
1 parent 528d91b commit 9a4157e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
1 change: 0 additions & 1 deletion scripts/binary/binary-integrity-check-source.js
Expand Up @@ -103,7 +103,6 @@ function integrityCheck (options) {
fileName: '<embedded>',
},
{
functionName: 'setGlobals',
fileName: '<embedded>',
},
{
Expand Down
22 changes: 5 additions & 17 deletions scripts/binary/build.ts
Expand Up @@ -235,23 +235,6 @@ require('./packages/server/index.js')

console.log(`output folder: ${outputFolder}`)

const args = [
'--publish=never',
`--c.electronVersion=${electronVersion}`,
`--c.directories.app=${appFolder}`,
`--c.directories.output=${outputFolder}`,
`--c.icon=${iconFilename}`,
// for now we cannot pack source files in asar file
// because electron-builder does not copy nested folders
// from packages/*/node_modules
// see https://github.com/electron-userland/electron-builder/issues/3185
// so we will copy those folders later ourselves
'--c.asar=false',
]

console.log('electron-builder arguments:')
console.log(args.join(' '))

// Update the root package.json with the next app version so that it is snapshot properly
fs.writeJSONSync(path.join(CY_ROOT_DIR, 'package.json'), {
...jsonRoot,
Expand All @@ -268,6 +251,11 @@ require('./packages/server/index.js')
output: outputFolder,
},
icon: iconFilename,
// for now we cannot pack source files in asar file
// because electron-builder does not copy nested folders
// from packages/*/node_modules
// see https://github.com/electron-userland/electron-builder/issues/3185
// so we will copy those folders later ourselves
asar: false,
},
})
Expand Down

1 comment on commit 9a4157e

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 9a4157e Dec 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/11.3.0/linux-arm64/ryanm/fix/v8-improvements-9a4157eb49d98c71be04fefb416f46538a457390/cypress.tgz

Please sign in to comment.