mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-16 21:58:39 -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
|
- name: Install
|
||||||
shell: bash
|
shell: bash
|
||||||
run: yarn install
|
run: yarn install --immutable
|
||||||
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' }}
|
|
||||||
|
|
||||||
- name: Install libarchive-tools
|
- name: Install libarchive-tools
|
||||||
shell: bash
|
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);
|
const pathToBlobV8 = path.resolve(__dirname, '..', 'cache', archToCopy, v8ContextFileName);
|
||||||
|
|
||||||
console.log('Copying v8 snapshots from', pathToBlob, 'to', pathToElectron);
|
console.log('Copying v8 snapshots from', pathToBlob, 'to', pathToElectron);
|
||||||
|
fs.mkdirSync(pathToElectron, { recursive: true });
|
||||||
fs.copyFileSync(pathToBlob, path.join(pathToElectron, snapshotFileName));
|
fs.copyFileSync(pathToBlob, path.join(pathToElectron, snapshotFileName));
|
||||||
fs.copyFileSync(pathToBlobV8, path.join(pathToElectron, v8ContextFileName));
|
fs.copyFileSync(pathToBlobV8, path.join(pathToElectron, v8ContextFileName));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue