Target node10, node11 isn't supported
This commit is contained in:
parent
cbc7745f02
commit
22344e8343
2
build.js
2
build.js
|
@ -34,7 +34,7 @@ if (!fs.existsSync(`./dist/${platform}_${arch}`)) {
|
|||
|
||||
console.log(`Building frameloom and saving in dist/${platform}_${arch}...`)
|
||||
console.time('frameloom')
|
||||
exec([ 'frameloom', '--target', 'host', '--output', `./dist/${platform}_${arch}/frameloom` ]).then(async (res) => {
|
||||
exec([ 'frameloom', '--target', 'node10', '--output', `./dist/${platform}_${arch}/frameloom` ]).then(async (res) => {
|
||||
try {
|
||||
await shell_out(`zip -r ./dist/frameloom_${platform}_${arch}_${packageJson.version}.zip ./dist/${platform}_${arch}/frameloom`)
|
||||
console.log(`Compressed binary to dist/frameloom_${platform}_${arch}_${packageJson.version}.zip`)
|
||||
|
|
Loading…
Reference in New Issue