From aec97da07a7148de0982d70b1716fa9d6ccf0841 Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Thu, 18 Jan 2018 22:45:12 +0900 Subject: [PATCH] Locate NOTICE.txt and LICENSE.txt under Content/Resources on Mac --- electron-builder.json | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/electron-builder.json b/electron-builder.json index 899d1a4e..68977551 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -12,14 +12,6 @@ "node_modules/bootstrap/dist/**", "node_modules/simple-spellchecker/dict/*.dic" ], - "extraFiles": [ - { - "filter": [ - "LICENSE.txt", - "NOTICE.txt" - ] - } - ], "protocols": [ { "name": "Mattermost", @@ -36,6 +28,12 @@ "tar.gz" ], "extraFiles": [ + { + "filter": [ + "LICENSE.txt", + "NOTICE.txt" + ] + }, { "from": "resources", "filter": "icon.png" @@ -53,6 +51,14 @@ "category": "public.app-category.productivity", "target": [ "tar.gz" + ], + "extraResources": [ + { + "filter": [ + "LICENSE.txt", + "NOTICE.txt" + ] + } ] }, "squirrelWindows": { @@ -62,6 +68,14 @@ "target": [ "squirrel", "zip" + ], + "extraFiles": [ + { + "filter": [ + "LICENSE.txt", + "NOTICE.txt" + ] + } ] } }