From 0636c8b92ff2d6bfcee965f9544f11cbe34383c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Augusto=20Bolina?= Date: Sun, 1 Dec 2019 19:02:59 -0300 Subject: [PATCH] added individual build scripts. (#1) * added individual build scripts. - squashed + changed commit messages. --- build/electron-builder.deb.yml | 6 ++++++ build/electron-builder.pacman.yml | 6 ++++++ build/electron-builder.snap.yml | 6 ++++++ build/electron-builder.yml | 2 +- package.json | 5 ++++- 5 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 build/electron-builder.deb.yml create mode 100644 build/electron-builder.pacman.yml create mode 100644 build/electron-builder.snap.yml diff --git a/build/electron-builder.deb.yml b/build/electron-builder.deb.yml new file mode 100644 index 0000000..1b108d8 --- /dev/null +++ b/build/electron-builder.deb.yml @@ -0,0 +1,6 @@ +extends: ./build/electron-builder.yml +linux: + category: Audio + icon: ./assets/icon.png + target: + - deb diff --git a/build/electron-builder.pacman.yml b/build/electron-builder.pacman.yml new file mode 100644 index 0000000..25cbc4e --- /dev/null +++ b/build/electron-builder.pacman.yml @@ -0,0 +1,6 @@ +extends: ./build/electron-builder.yml +linux: + category: Audio + icon: ./assets/icon.png + target: + - pacman diff --git a/build/electron-builder.snap.yml b/build/electron-builder.snap.yml new file mode 100644 index 0000000..228a5ce --- /dev/null +++ b/build/electron-builder.snap.yml @@ -0,0 +1,6 @@ +extends: ./build/electron-builder.yml +linux: + category: Audio + icon: ./assets/icon.png + target: + - snap diff --git a/build/electron-builder.yml b/build/electron-builder.yml index e29136f..67058fe 100644 --- a/build/electron-builder.yml +++ b/build/electron-builder.yml @@ -16,4 +16,4 @@ linux: mac: category: public.app-category.entertainment win: - target: msi + target: msi \ No newline at end of file diff --git a/package.json b/package.json index 3a4a5f3..8864e2b 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,14 @@ { "name": "tidal-hifi", - "version": "0.1.0", + "version": "0.5.1", "description": "Tidal on Electron with widevine(hifi) support", "main": "src/main.js", "scripts": { "start": "electron .", "build": "electron-builder -c ./build/electron-builder.yml", + "build-deb": "electron-builder -c ./build/electron-builder.deb.yml", + "build-snap": "electron-builder -c ./build/electron-builder.snap.yml", + "build-arch": "electron-builder -c ./build/electron-builder.pacman.yml", "build-wl": "electron-builder -c ./build/electron-builder.yml -wl", "build-mac": "electron-builder -c ./build/electron-builder.yml -m" },