Skip to content

Commit

Permalink
Added new version of lightroom
Browse files Browse the repository at this point in the history
  • Loading branch information
cajames committed Nov 3, 2017
1 parent 8b10213 commit 96a2454
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions VSCOKeys/VSCOKeys/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
#define LIGHTROOM_BUNDLE_LR4 @"com.adobe.Lightroom4"
#define LIGHTROOM_BUNDLE_LR5 @"com.adobe.Lightroom5"
#define LIGHTROOM_BUNDLE_LR6 @"com.adobe.Lightroom6"
#define LIGHTROOM_BUNDLE_LR7 @"com.adobe.LightroomClassicCC7"

#define STATUSBAR_UPDATE_RATE 0.25
#define APP_RUNNING_UPDATE_RATE 1
Expand Down
5 changes: 3 additions & 2 deletions VSCOKeys/VSCOKeys/KeyControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ - (void)deletePdf:(NSString*)uuid

- (void)initAppList
{
self.appIdList = [NSArray arrayWithObjects:LIGHTROOM_BUNDLE_LR3,LIGHTROOM_BUNDLE_LR4,LIGHTROOM_BUNDLE_LR5,LIGHTROOM_BUNDLE_LR6, nil];
self.appIdList = [NSArray arrayWithObjects:LIGHTROOM_BUNDLE_LR3,LIGHTROOM_BUNDLE_LR4,LIGHTROOM_BUNDLE_LR5,LIGHTROOM_BUNDLE_LR6,LIGHTROOM_BUNDLE_LR7, nil];
}

- (NSRunningApplication*)getLRRunningInstance
Expand Down Expand Up @@ -614,7 +614,8 @@ - (NSString *)getLRVersion

if ([lr.bundleIdentifier caseInsensitiveCompare:LIGHTROOM_BUNDLE_LR4] == NSOrderedSame ||
[lr.bundleIdentifier caseInsensitiveCompare:LIGHTROOM_BUNDLE_LR5] == NSOrderedSame ||
[lr.bundleIdentifier caseInsensitiveCompare:LIGHTROOM_BUNDLE_LR6] == NSOrderedSame)
[lr.bundleIdentifier caseInsensitiveCompare:LIGHTROOM_BUNDLE_LR6] == NSOrderedSame ||
[lr.bundleIdentifier caseInsensitiveCompare:LIGHTROOM_BUNDLE_LR7] == NSOrderedSame)
{
return LRVERSION_LR4;
}
Expand Down

2 comments on commit 96a2454

@kashifqadri
Copy link

@kashifqadri kashifqadri commented on 96a2454 Dec 18, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
i am totally unaware of working with opensource etc, im just a photographer.
how can i have my vsco work with LR CC Classic

Thank you

@cajames
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @kashifqadri, yep please have a look at this comment, I've explained how to use it: #28 (comment)

Please sign in to comment.