Update beforeBuild.js

This commit is contained in:
Jan-Otto Kröpke 2023-06-30 00:11:24 +02:00 committed by GitHub
parent 1f07a29663
commit dd54a23a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ const archMap = {
}
module.exports = async (buildContext) => {
console.log(buildContext)
if (buildContext.platform !== "linux") return true
if (buildContext.arch in archMap) {
@ -14,5 +15,6 @@ module.exports = async (buildContext) => {
process.env.CXX = "g++"
}
console.log(process.env.CXX)
return true
}