From d475146d803515efdb1f9b822e967b27cfe9100c Mon Sep 17 00:00:00 2001 From: jhdcruz Date: Wed, 23 Oct 2019 14:36:34 +0800 Subject: [PATCH] Add build dependency packages cmds --- docs/build.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/build.md b/docs/build.md index 2a8c22af..dae69612 100644 --- a/docs/build.md +++ b/docs/build.md @@ -82,13 +82,21 @@ 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: +**Ubuntu/Debian:** + +``` +$ npm i -g grunt-electron-installer-debian +``` ``` $ sudo apt-get install -y rpm fakeroot ``` -Fedora: +**Fedora:** + +``` +$ npm i -g grunt-electron-installer-redhat +``` ``` $ sudo dnf install -y dpkg dpkg-dev rpm-build fakeroot @@ -100,4 +108,4 @@ Then execute `grunt build`. $ grunt build ``` -You will find `.deb` and `.rpm` in the `dist` directory. +> You will find `.deb` and `.rpm` in the `dist` directory.