From bcc76e5728c984ddc8df2f86035ae697f3d1805b Mon Sep 17 00:00:00 2001 From: 4gray Date: Sun, 10 Oct 2021 21:37:34 +0200 Subject: [PATCH] build: extend build options --- electron-builder.json | 99 +++++++++++++++++++++++-------------------- 1 file changed, 53 insertions(+), 46 deletions(-) diff --git a/electron-builder.json b/electron-builder.json index aa7e7ae82..5ee24ac79 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -1,49 +1,56 @@ { - "productName": "iptvnator", - "directories": { - "output": "release/" - }, - "files": [ - "**/*", - "!**/*.ts", - "!*.code-workspace", - "!LICENSE.md", - "!package.json", - "!package-lock.json", - "!src/", - "!e2e/", - "!hooks/", - "!angular.json", - "!tsconfig.json", - "!tslint.json" - ], - "win": { - "icon": "dist/assets/icons", - "compression": "maximum", - "target": [ - { - "target": "nsis", - "arch": [ - "ia32", - "x64" + "productName": "iptvnator", + "directories": { + "output": "release/" + }, + "files": [ + "**/*", + "!**/*.ts", + "!*.code-workspace", + "!LICENSE.md", + "!package.json", + "!package-lock.json", + "!src/", + "!e2e/", + "!hooks/", + "!angular.json", + "!tsconfig.json", + "!tslint.json" + ], + "win": { + "icon": "dist/assets/icons", + "compression": "maximum", + "target": [ + { + "target": "nsis", + "arch": ["ia32", "x64"] + } ] - } - ] - }, - "mac": { - "icon": "dist/assets/icons/icon-1024.png", - "target": [ - "dmg" - ] - }, - "linux": { - "icon": "dist/assets/icons", - "category": "Video", - "target": [ - "AppImage", - "Snap", - "deb", - "rpm" - ] - } + }, + "mac": { + "icon": "dist/assets/icons/icon-1024.png", + "target": ["dmg"] + }, + "linux": { + "icon": "dist/assets/icons", + "category": "Video", + "target": [ + { + "target": "AppImage", + "arch": ["x64", "ia32", "armv7l", "arm64"] + }, + { + "target": "deb", + "arch": ["x64", "ia32", "armv7l", "arm64"] + }, + { + "target": "rpm", + "arch": ["x64", "ia32", "arm64", "armv7l"] + }, + { + "target": "Snap", + "arch": ["x64", "ia32", "arm64", "armv7l"] + } + ] + } }