mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-17 22:18:41 -09:00
Update
This commit is contained in:
parent
11e61dec9b
commit
6db6657607
1 changed files with 4 additions and 2 deletions
6
bin/mk-snapshot.js
vendored
6
bin/mk-snapshot.js
vendored
|
|
@ -41,8 +41,10 @@ async function main() {
|
||||||
const outputBlobPath = `${baseDirPath}/cache/${npmConfigArch}`;
|
const outputBlobPath = `${baseDirPath}/cache/${npmConfigArch}`;
|
||||||
await mkdirp(outputBlobPath);
|
await mkdirp(outputBlobPath);
|
||||||
|
|
||||||
const baseDir = require.resolve("electron-mksnapshot");
|
const mksnapshotBinPath =
|
||||||
const mksnapshotBinPath = path.resolve(baseDir, "bin", "mksnapshot" + (process.platform === "win32" ? ".exe" : ""));
|
require.resolve(
|
||||||
|
path.join("electron-mksnapshot", "bin", "mksnapshot" + (process.platform === "win32" ? ".exe" : ""))
|
||||||
|
);
|
||||||
|
|
||||||
if (process.platform !== 'darwin') {
|
if (process.platform !== 'darwin') {
|
||||||
// TODO non-darwin
|
// TODO non-darwin
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue