From eb8d38bf27225f401779266f4eb621bde796cbb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Nicouleaud?= Date: Mon, 24 Apr 2017 11:37:20 +0200 Subject: [PATCH 1/2] Make sure `yarn run pack` actually uses npm --- gui/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/package.json b/gui/package.json index c0452b6f0..d605fddb7 100644 --- a/gui/package.json +++ b/gui/package.json @@ -37,7 +37,8 @@ "dist": "npm run _dist", "_dist": "build --x64 --ia32", "lint": "standard --verbose app/main.js app/ports.js", - "pack": "build --dir", + "pack": "npm run _pack", + "_pack": "build --dir", "postinstall": "npm run postinstall:electron && npm run postinstall:elm", "postinstall:electron": "install-app-deps", "postinstall:elm": "elm-package install -y", From 5948d35841fa1d7d06d7a95b02cb4da9ec84eae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Nicouleaud?= Date: Mon, 24 Apr 2017 11:44:59 +0200 Subject: [PATCH 2/2] Set electron-builder's productName to "Cozy Desktop" So the macOS / Windows apps get a better name. Please note this will also change the name of the generated artifacts. --- gui/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/package.json b/gui/package.json index d605fddb7..b264d23c6 100644 --- a/gui/package.json +++ b/gui/package.json @@ -4,6 +4,7 @@ "license": "AGPL-3.0", "build": { "appId": "io.cozy.desktop", + "productName": "Cozy Desktop", "linux": { "target": [ "deb"