From d38d0acf8ca99844beea1f86edadfd4f726c7390 Mon Sep 17 00:00:00 2001 From: Janne Pohjolainen Date: Fri, 2 Oct 2015 12:58:19 +0200 Subject: [PATCH] updated doc --- README.md | 14 ++++++++++++++ lib/main.coffee | 1 + 2 files changed, 15 insertions(+) diff --git a/README.md b/README.md index de80dcb..7a4c4a0 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,17 @@ Package to encrypt/decrypt selections with GPG. ## Install You need to have gpg installed. + +If you get error message "Failed to spawn command gpg. Make sure gpg is installed and on your PATH" then you need to go to Settings page and set Gpg Executable path. + +As this is not yet Atom Package, you need to do the following things manually: + +```bash +$ git clone https://github.com/jpohjolainen/atom-gpg.git ~/.atom/packages/atom-gpg + +$ cd ~/.atom/packages/atom-gpg + +$ npm install underscore-plus +``` + + diff --git a/lib/main.coffee b/lib/main.coffee index 5f6f8eb..b89dd5b 100644 --- a/lib/main.coffee +++ b/lib/main.coffee @@ -6,6 +6,7 @@ module.exports = config: gpgExecutable: type: 'string' + default: '' gpgHomeDir: type: 'string' default: ''