mirror of
https://github.com/MuhammedKalkan/OpenLens.git
synced 2026-09-30 15:29:26 +02:00
hack for multiarch build
This commit is contained in:
@@ -9,4 +9,9 @@ packagejson.build.publish = [{
|
||||
|
||||
packagejson.build.win.artifactName = "OpenLens.Setup.${version}.${ext}";
|
||||
|
||||
if (process.platform != "win32") {
|
||||
// build both x86_64 and arm64 for Linux and Darwin
|
||||
packagejson.scripts['build:app'] = "electron-builder --publish onTag --x64 --arm64";
|
||||
}
|
||||
|
||||
fs.writeFileSync('./lens/packages/open-lens/package.json', JSON.stringify(packagejson));
|
||||
|
||||
Reference in New Issue
Block a user