Skip to content

Commit

Permalink
Add symlink of conky to /usr/local/bin to allow using from terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
npyl committed Mar 1, 2018
1 parent 2f033f1 commit 2764763
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ConkyX/MainWindowController.m
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,11 @@ - (void)beginInstalling
{
NSLog(@"Error creating lock.");
}

if (![fm createSymbolicLinkAtPath:@"/usr/local/bin/conky" withDestinationPath:@"/Applications/ConkyX.app/Contents/Resources/conky" error:&error])
{
NSLog(@"Error creating symbolic link to /usr/local/bin: %@", error);
}

/*
* start the ManageConky.app if it exists to allow configuring conky
Expand Down

0 comments on commit 2764763

Please sign in to comment.