From 997ffa620da230584f1bd9e10ba85c2bf98d3470 Mon Sep 17 00:00:00 2001 From: jhdcruz Date: Thu, 24 Oct 2019 15:36:04 +0800 Subject: [PATCH] Required both package for builds | Yarn --- docs/build.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/build.md b/docs/build.md index dae69612..937a4a58 100644 --- a/docs/build.md +++ b/docs/build.md @@ -82,11 +82,11 @@ Distribution packages are created by exec `grunt build` on Linux platform (e.g. After installing the supported version of `node` and `npm`, install build dependency packages. -**Ubuntu/Debian:** +``` +$ yarn add --dev grunt-electron-installer-debian grunt-electron-installer-redhat +``` -``` -$ npm i -g grunt-electron-installer-debian -``` +**Ubuntu/Debian:** ``` $ sudo apt-get install -y rpm fakeroot @@ -94,10 +94,6 @@ $ sudo apt-get install -y rpm fakeroot **Fedora:** -``` -$ npm i -g grunt-electron-installer-redhat -``` - ``` $ sudo dnf install -y dpkg dpkg-dev rpm-build fakeroot ```