Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
verygenericname authored Apr 9, 2022
1 parent c52ae9e commit a0bb325
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SDKVERSION = 11.4
ARCHS = arm64 arm64e
TrollLock_FILES = Tweak.xm
DEBUG=0
PACKAGE_VERSION=1.0.0
PACKAGE_VERSION=1.0.1
include $(THEOS_MAKE_PATH)/tweak.mk

internal-stage::
Expand Down
5 changes: 5 additions & 0 deletions Tweak.xm
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

%hook BSUICAPackageView
- (id)initWithPackageName:(NSString *)arg1 inBundle:(id)arg2 {
if(![arg1 containsString:@"lock"]) {
return %orig;
}


NSString *currentThemeName = @"trollformation";
NSString *currentTheme = @"trollformation.bundle";
NSBundle *themeBundle = [[NSBundle alloc] initWithPath:[NSString stringWithFormat:@"%@/%@", themepath , currentTheme]];
Expand Down
2 changes: 1 addition & 1 deletion control
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: com.nathan.trolllock
Name: TrollLock
Description: Tweak that turns the faceID glyph into a trollface
Version: 1.0.0
Version: 1.0.1
Priority: optional
Section: Tweaks
Architecture: iphoneos-arm
Expand Down

0 comments on commit a0bb325

Please sign in to comment.