From 759004e2b2691dff8e55ee6f9daa8a30ec570ed3 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Fri, 12 Jan 2018 13:25:24 -0400 Subject: [PATCH] chore: add .resinci.json builder configuration object (#1965) This object will eventually replace the `electron-builder.yml` file that's currently present in the root of the project. For now, it contains the `electron-builder` options that are project specific (all the generic bits live in the Electron Concourse pipeline), but in the future we might want to decouple how users configure packages from the `electron-builder` project, instead making the user provide Resin Concourse specific options that are then translated to `electron-builder` (or any other packaging technology we might decide to use) under the hood. Change-Type: patch Signed-off-by: Juan Cruz Viotti Trigger Concourse CI Signed-off-by: Juan Cruz Viotti --- .resinci.json | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ package.json | 9 --------- 2 files changed, 49 insertions(+), 9 deletions(-) create mode 100644 .resinci.json diff --git a/.resinci.json b/.resinci.json new file mode 100644 index 00000000..35a41931 --- /dev/null +++ b/.resinci.json @@ -0,0 +1,49 @@ +{ + "electron": { + "dependencies": { + "linux": [ + "libudev-dev", + "libusb-1.0-0-dev", + "libyaml-dev" + ] + }, + "builder": { + "appId": "io.resin.etcher", + "copyright": "Copyright 2016 Resinio Ltd", + "productName": "Etcher", + "mac": { + "category": "public.app-category.developer-tools" + }, + "dmg": { + "iconSize": 110, + "contents": [ + { + "x": 140, + "y": 225 + }, + { + "x": 415, + "y": 225, + "type": "link", + "path": "/Applications" + } + ], + "window": { + "width": 540, + "height": 405 + } + }, + "linux": { + "category": "Utility", + "packageCategory": "utils", + "synopsis": "Etcher is a powerful OS image flasher built with web technologies to ensure flashing an SDCard or USB drive is a pleasant and safe experience. It protects you from accidentally writing to your hard-drives, ensures every byte of data was written correctly and much more." + }, + "deb": { + "priority": "optional", + "depends": [ + "polkit-1-auth-agent | policykit-1-gnome | polkit-kde-1" + ] + } + } + } +} diff --git a/package.json b/package.json index 7c410758..46821709 100644 --- a/package.json +++ b/package.json @@ -35,15 +35,6 @@ "7zip-bin-win", "7zip-bin-linux" ], - "concourse": { - "dependencies": { - "linux": [ - "libudev-dev", - "libusb-1.0-0-dev", - "libyaml-dev" - ] - } - }, "dependencies": { "angular": "1.6.3", "angular-if-state": "1.0.0",