Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Andy Ibanez
committed
May 31, 2013
0 parents
commit 225c8c5
Showing
44 changed files
with
607 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Package: com.andyibanez.cecrecy | ||
Name: Cecrecy | ||
Depends: mobilesubstrate, applist(>=1.5.1), firmware(>=6.0), libhide | ||
Version: 1.0.0-10 | ||
Architecture: iphoneos-arm | ||
Description: Protect your privacy - rather than locking apps with a passcode, this tweak can hide them altogether. | ||
Maintainer: Andy Ibanez | ||
Author: Andy Ibanez | ||
Section: Tweaks | ||
Installed-Size: 40 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleExecutable</key> | ||
<string>Cecrecy</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>Cecrecy</string> | ||
</dict> | ||
</plist> |
Binary file added
BIN
+8.63 KB
.theos/_/Library/PreferenceBundles/CecrecySettings.bundle/CecrecySettings
Binary file not shown.
41 changes: 41 additions & 0 deletions
41
.theos/_/Library/PreferenceBundles/CecrecySettings.bundle/CecrecySettings.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>items</key> | ||
<array> | ||
<dict> | ||
<key>cell</key> | ||
<string>PSGroupCell</string> | ||
<key>label</key> | ||
<string>Cecrecy Settings</string> | ||
</dict> | ||
<dict> | ||
<key>ALAllowsSelection</key> | ||
<string>1</string> | ||
<key>ALSettingsKeyPrefix</key> | ||
<string></string> | ||
<key>ALSettingsPath</key> | ||
<string>/var/mobile/Library/Preferences/com.andyibanez.Cecrecy.HiddenApps.plist</string> | ||
<key>ALSingleEnabledMode</key> | ||
<false/> | ||
<key>bundle</key> | ||
<string>AppList</string> | ||
<key>cell</key> | ||
<string>PSLinkCell</string> | ||
<key>isController</key> | ||
<string>1</string> | ||
<key>label</key> | ||
<string>Applications</string> | ||
</dict> | ||
<dict> | ||
<key>cell</key> | ||
<string>PSGroupCell</string> | ||
<key>footerText</key> | ||
<string>Developed by Andy Ibanez © 2013</string> | ||
</dict> | ||
</array> | ||
<key>title</key> | ||
<string>Cecrecy</string> | ||
</dict> | ||
</plist> |
28 changes: 28 additions & 0 deletions
28
.theos/_/Library/PreferenceBundles/CecrecySettings.bundle/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>CecrecySettings</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.andyibanez.CecrecySettings</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>DTPlatformName</key> | ||
<string>iphoneos</string> | ||
<key>MinimumOSVersion</key> | ||
<string>3.0</string> | ||
<key>NSPrincipalClass</key> | ||
<string>CecrecySettingsListController</string> | ||
</dict> | ||
</plist> |
10 changes: 10 additions & 0 deletions
10
.theos/_/Library/PreferenceLoader/Preferences/CecrecySettings.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
entry = { | ||
bundle = CecrecySettings; | ||
cell = PSLinkCell; | ||
detail = "CecrecySettingsListController"; | ||
icon = "CecrecySettings.png"; | ||
isController = 1; | ||
label = Cecrecy; | ||
}; | ||
} |
Empty file.
Empty file.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleExecutable</key> | ||
<string>Cecrecy</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>Cecrecy</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleExecutable</key> | ||
<string>Cecret</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>Cecret</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.0.0-10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1-30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1.0.0-24 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#import <Foundation/Foundation.h> | ||
#import "libhide_functions.mm" | ||
|
||
@interface Cecrecy : NSObject | ||
{ | ||
} | ||
-(void)hideIcons; | ||
-(void)showIcons; | ||
@end | ||
|
||
@implementation Cecrecy | ||
-(void)hideIcons | ||
{ | ||
NSDictionary *appsToHide = [NSDictionary dictionaryWithContentsOfFile: | ||
[NSString stringWithFormat:@"%@/Library/Preferences/%@", NSHomeDirectory(), @"com.andyibanez.Cecrecy.HiddenApps.plist"]]; | ||
[appsToHide enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) | ||
{ | ||
NSString *sKey = (NSString *)key; | ||
if([obj boolValue] == YES) | ||
{ | ||
HideIconViaDisplayId(sKey); | ||
} | ||
|
||
}]; | ||
} | ||
-(void)showIcons | ||
{ | ||
NSDictionary *appsToShow = [NSDictionary dictionaryWithContentsOfFile: | ||
[NSString stringWithFormat:@"%@/Library/Preferences/%@", NSHomeDirectory(), @"com.andyibanez.Cecrecy.HiddenApps.plist"]]; | ||
[appsToShow enumerateKeysAndObjectsUsingBlock:^(id key, id obj, BOOL *stop) | ||
{ | ||
NSString *sKey = (NSString *)key; | ||
if([obj boolValue] == YES) | ||
{ | ||
UnHideIconViaDisplayId(sKey); | ||
} | ||
}]; | ||
} | ||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{ Filter = { Bundles = ( "com.apple.springboard" ); }; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ARCHS = armv7 | ||
include theos/makefiles/common.mk | ||
|
||
BUNDLE_NAME = Cecrecy | ||
Cecrecy_FILES = Cecrecy.mm | ||
Cecrecy_INSTALL_PATH = /Library/Cecrecy | ||
Cecrecy_FRAMEWORKS = Foundation | ||
SUBPROJECTS += cecrecysettings | ||
include $(THEOS_MAKE_PATH)/aggregate.mk | ||
include $(THEOS_MAKE_PATH)/bundle.mk |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleExecutable</key> | ||
<string>Cecrecy</string> | ||
<key>CFBundleDisplayName</key> | ||
<string>Cecrecy</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
Empty file.
Binary file not shown.
41 changes: 41 additions & 0 deletions
41
cecrecysettings/.theos/obj/CecrecySettings.bundle/CecrecySettings.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>items</key> | ||
<array> | ||
<dict> | ||
<key>cell</key> | ||
<string>PSGroupCell</string> | ||
<key>label</key> | ||
<string>Cecrecy Settings</string> | ||
</dict> | ||
<dict> | ||
<key>ALAllowsSelection</key> | ||
<string>1</string> | ||
<key>ALSettingsKeyPrefix</key> | ||
<string></string> | ||
<key>ALSettingsPath</key> | ||
<string>/var/mobile/Library/Preferences/com.andyibanez.Cecrecy.HiddenApps.plist</string> | ||
<key>ALSingleEnabledMode</key> | ||
<false/> | ||
<key>bundle</key> | ||
<string>AppList</string> | ||
<key>cell</key> | ||
<string>PSLinkCell</string> | ||
<key>isController</key> | ||
<string>1</string> | ||
<key>label</key> | ||
<string>Applications</string> | ||
</dict> | ||
<dict> | ||
<key>cell</key> | ||
<string>PSGroupCell</string> | ||
<key>footerText</key> | ||
<string>Developed by Andy Ibanez © 2013</string> | ||
</dict> | ||
</array> | ||
<key>title</key> | ||
<string>Cecrecy</string> | ||
</dict> | ||
</plist> |
28 changes: 28 additions & 0 deletions
28
cecrecysettings/.theos/obj/CecrecySettings.bundle/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>CecrecySettings</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.andyibanez.CecrecySettings</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>DTPlatformName</key> | ||
<string>iphoneos</string> | ||
<key>MinimumOSVersion</key> | ||
<string>3.0</string> | ||
<key>NSPrincipalClass</key> | ||
<string>CecrecySettingsListController</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
Binary file not shown.
41 changes: 41 additions & 0 deletions
41
cecrecysettings/.theos/obj/CecretSettings.bundle/CecretSettings.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>items</key> | ||
<array> | ||
<dict> | ||
<key>cell</key> | ||
<string>PSGroupCell</string> | ||
<key>label</key> | ||
<string>Cecret Settings</string> | ||
</dict> | ||
<dict> | ||
<key>ALAllowsSelection</key> | ||
<string>1</string> | ||
<key>ALSettingsKeyPrefix</key> | ||
<string></string> | ||
<key>ALSettingsPath</key> | ||
<string>/var/mobile/Library/Preferences/com.andyibanez.Cecret.HiddenApps.plist</string> | ||
<key>ALSingleEnabledMode</key> | ||
<false/> | ||
<key>bundle</key> | ||
<string>AppList</string> | ||
<key>cell</key> | ||
<string>PSLinkCell</string> | ||
<key>isController</key> | ||
<string>1</string> | ||
<key>label</key> | ||
<string>Applications</string> | ||
</dict> | ||
<dict> | ||
<key>cell</key> | ||
<string>PSGroupCell</string> | ||
<key>footerText</key> | ||
<string>Developed by Andy Ibanez © 2013</string> | ||
</dict> | ||
</array> | ||
<key>title</key> | ||
<string>Cecret</string> | ||
</dict> | ||
</plist> |
28 changes: 28 additions & 0 deletions
28
cecrecysettings/.theos/obj/CecretSettings.bundle/Info.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleExecutable</key> | ||
<string>Cecret</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.andyibanez.CecretSettings</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundlePackageType</key> | ||
<string>BNDL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>DTPlatformName</key> | ||
<string>iphoneos</string> | ||
<key>MinimumOSVersion</key> | ||
<string>3.0</string> | ||
<key>NSPrincipalClass</key> | ||
<string>CecretSettingsListController</string> | ||
</dict> | ||
</plist> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@interface PSListController | ||
{ | ||
id _specifiers; | ||
} | ||
-(id)specifiers; | ||
-(id)loadSpecifiersFromPlistName:(id)name target:(id)tar; | ||
@end | ||
|
||
@interface CecrecySettingsListController: PSListController { | ||
} | ||
@end | ||
|
||
@implementation CecrecySettingsListController | ||
- (id)specifiers { | ||
if(_specifiers == nil) { | ||
_specifiers = [[self loadSpecifiersFromPlistName:@"CecrecySettings" target:self] retain]; | ||
} | ||
return _specifiers; | ||
} | ||
@end | ||
|
||
// vim:ft=objc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
include theos/makefiles/common.mk | ||
|
||
BUNDLE_NAME = CecrecySettings | ||
CecrecySettings_FILES = CecrecySettings.mm | ||
CecrecySettings_INSTALL_PATH = /Library/PreferenceBundles | ||
CecrecySettings_FRAMEWORKS = UIKit | ||
CecrecySettings_PRIVATE_FRAMEWORKS = Preferences | ||
|
||
include $(THEOS_MAKE_PATH)/bundle.mk | ||
|
||
internal-stage:: | ||
$(ECHO_NOTHING)mkdir -p $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences$(ECHO_END) | ||
$(ECHO_NOTHING)cp entry.plist $(THEOS_STAGING_DIR)/Library/PreferenceLoader/Preferences/CecrecySettings.plist$(ECHO_END) |
Binary file not shown.
Oops, something went wrong.