Small fixes

This commit is contained in:
Philip Peterson 2025-05-29 01:25:11 -07:00
parent 4342481906
commit 19b2748df7
2 changed files with 2 additions and 3 deletions

View file

@ -55,9 +55,7 @@ runs:
- name: Install
shell: bash
run: yarn install
env:
npm_config_node_gyp: ${{ github.workspace }}${{ runner.os == 'Windows' && '\node_modules\node-gyp\bin\node-gyp.js' || '/node_modules/node-gyp/bin/node-gyp.js' }}
run: yarn install --immutable
- name: Install libarchive-tools
shell: bash

1
bin/cp-snapshot.js vendored
View file

@ -11,6 +11,7 @@ function copySnapshot(pathToElectron, archToCopy) {
const pathToBlobV8 = path.resolve(__dirname, '..', 'cache', archToCopy, v8ContextFileName);
console.log('Copying v8 snapshots from', pathToBlob, 'to', pathToElectron);
fs.mkdirSync(pathToElectron, { recursive: true });
fs.copyFileSync(pathToBlob, path.join(pathToElectron, snapshotFileName));
fs.copyFileSync(pathToBlobV8, path.join(pathToElectron, v8ContextFileName));
}