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
+2
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
}