Skip to content

Commit

Permalink
fix linux arm64 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthemanuel committed Nov 28, 2022
1 parent 8ab76e6 commit b4e2261
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions scripts/after-pack-hook.js
Expand Up @@ -56,6 +56,7 @@ module.exports = async function (params) {
}

if (!['1', 'true'].includes(process.env.DISABLE_SNAPSHOT_REQUIRE)) {
await fs.writeFile(path.join(outputFolder, 'index.js'), await fs.readFile(path.join(outputFolder, 'index.js'), 'utf8').replace('server/index.js', 'server/index.jsc'))
await flipFuses(
exePathPerPlatform[os.platform()],
{
Expand Down
2 changes: 0 additions & 2 deletions scripts/binary/build.ts
Expand Up @@ -258,8 +258,6 @@ require('./packages/server/index.js')
version,
}, { spaces: 2 })

fs.writeFileSync(meta.distDir('index.js'), fs.readFileSync(meta.distDir('index.js'), 'utf8').replace('server/index.js', 'server/index.jsc'))

try {
await electronBuilder.build({
publish: 'never',
Expand Down

1 comment on commit b4e2261

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on b4e2261 Nov 28, 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.2.0/linux-arm64/ryanm/fix/v8-improvements-b4e22614e0f62cfd40407e17e8a790b0b8430d9d/cypress.tgz

Please sign in to comment.