Skip to content

Commit

Permalink
Merge pull request #51 from pragmaticivan/fix-appnotfound-crash
Browse files Browse the repository at this point in the history
Fix #39 - Fix installation breaks when Alfred and iTerm2 is not installed
  • Loading branch information
eduardolundgren committed Aug 7, 2014
2 parents 0edc231 + ad820b2 commit af1f0a9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,11 +352,19 @@ module.exports = function(grunt) {
},

theme_alfred: {
command: 'open <%= config.themes.path_dracula %>/alfred/Dracula.alfredappearance'
command: '[ -d "/Applications/Alfred 2.app" ] && open <%= config.themes.path_dracula %>/alfred/Dracula.alfredappearance || echo "Alfred App is not installed"',
options: {
stdout: true,
stderr: true
}
},

theme_iterm: {
command: 'open <%= config.themes.path_dracula %>/iterm/Dracula.itermcolors'
command: '[ -d "/Applications/iTerm.app" ] && open <%= config.themes.path_dracula %>/iterm/Dracula.itermcolors || echo "iTerm App is not installed"',
options: {
stdout: true,
stderr: true
}
},

node_latest: {
Expand Down

0 comments on commit af1f0a9

Please sign in to comment.