From 1a98a36b867f7ea303a6d377c74336cadd0645e4 Mon Sep 17 00:00:00 2001 From: jobevers Date: Thu, 26 Jan 2017 17:21:06 -0600 Subject: [PATCH] trying electron-builder --- .../build/background.png | Bin .../osx/app.icns => electron/build/icon.icns | Bin electron/package.json | 34 ++++++++++++++++++ 3 files changed, 34 insertions(+) rename package/osx/dmg_background.png => electron/build/background.png (100%) rename package/osx/app.icns => electron/build/icon.icns (100%) diff --git a/package/osx/dmg_background.png b/electron/build/background.png similarity index 100% rename from package/osx/dmg_background.png rename to electron/build/background.png diff --git a/package/osx/app.icns b/electron/build/icon.icns similarity index 100% rename from package/osx/app.icns rename to electron/build/icon.icns diff --git a/electron/package.json b/electron/package.json index 9d25db454..5137ef6c6 100644 --- a/electron/package.json +++ b/electron/package.json @@ -2,7 +2,41 @@ "name": "LBRY", "version": "0.1.0", "main": "main.js", + "description": "LBRY is a fully decentralized, open-source protocol facilitating the discovery, access, and (sometimes) purchase of data.", + "author": "lbry.io", "dependencies": { "jayson": "^2.0.2" + }, + "build": { + "appId": "io.lbry.LBRY", + "mac": { + "category": "public.app-category.utilities", + "target": "dmg" + }, + "dmg": { + "iconSize": 128, + "contents": [ + { + "x": 115, + "y": 164 + }, + { + "x": 387, + "y": 164, + "type": "link", + "path": "/Applications" + } + ], + "window": { + "x": 200, + "y": 200, + "width": 500, + "height": 320 + } + } + }, + "devDependencies": { + "electron": "^1.4.15", + "electron-builder": "^11.7.0" } }