mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-12 20:18:41 -09:00
Small fixes
This commit is contained in:
parent
4342481906
commit
19b2748df7
2 changed files with 2 additions and 3 deletions
4
.github/actions/build/action.yml
vendored
4
.github/actions/build/action.yml
vendored
|
|
@ -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
1
bin/cp-snapshot.js
vendored
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue