mirror of
https://github.com/MuhammedKalkan/OpenLens.git
synced 2026-10-09 10:25:53 +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}";
|
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));
|
fs.writeFileSync('./lens/packages/open-lens/package.json', JSON.stringify(packagejson));
|
||||||
|
|||||||
Reference in New Issue
Block a user