mirror of
https://github.com/MuhammedKalkan/OpenLens.git
synced 2026-09-30 12:21:14 +02:00
Update beforeBuild.js
This commit is contained in:
@@ -5,7 +5,7 @@ const archMap = {
|
||||
|
||||
module.exports = async (buildContext) => {
|
||||
console.log(buildContext)
|
||||
if (buildContext.platform !== "linux") return true
|
||||
if (buildContext.platform.name !== "linux") return true
|
||||
|
||||
if (buildContext.arch in archMap) {
|
||||
process.env.CC = `${archMap[buildContext.arch]}-linux-gnu-gcc`
|
||||
|
||||
Reference in New Issue
Block a user