Skip to content

Commit

Permalink
Workaround #63 by providing renew cert option
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed May 20, 2024
1 parent 2d7bbe4 commit f9ea745
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions LCSettingsListController.m
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ - (NSMutableArray*)specifiers {
[jitlessGroup setProperty:@"JIT-less allows you to use LiveContainer without having to enable JIT. Requires SideStore." forKey:@"footerText"];
[_specifiers addObject:jitlessGroup];

NSString *setupJITLessButtonName = LCUtils.certificateData ? @"JIT-less is set up" : @"Setup JIT-less";
NSString *setupJITLessButtonName = LCUtils.certificateData ? @"Renew JIT-less certificate" : @"Setup JIT-less certificate";
PSSpecifier* setupJITLessButton = [PSSpecifier preferenceSpecifierNamed:setupJITLessButtonName target:self set:nil get:nil detail:nil cell:PSButtonCell edit:nil];
setupJITLessButton.identifier = @"setup-jitless";
[setupJITLessButton setProperty:@(!LCUtils.certificateData) forKey:@"enabled"];
setupJITLessButton.buttonAction = @selector(setupJITLessPressed);
[_specifiers addObject:setupJITLessButton];

Expand Down

0 comments on commit f9ea745

Please sign in to comment.