forked from ttwj/ClutchMod
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 0f3ef9a
Showing
38 changed files
with
2,416 additions
and
0 deletions.
There are no files selected for viewing
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 @@ | ||
*.pbxproj -crlf -diff -merge |
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 @@ | ||
# xcode noise | ||
build/* | ||
*.pbxuser | ||
*.mode1v3 | ||
*.xcuserdatad | ||
|
||
# old skool | ||
.svn | ||
|
||
# osx noise | ||
.DS_Store | ||
profile | ||
|
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 @@ | ||
#import <Foundation/Foundation.h> | ||
@interface ClutchConfiguration : NSObject { | ||
|
||
} | ||
|
||
+ (BOOL) setValue:(id)value forKey:(NSString *)key; | ||
+ (id) getValue:(NSString *)key; | ||
+ (BOOL) configWithFile:(NSString *)filename; | ||
|
||
@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,24 @@ | ||
#import "Configuration.h" | ||
|
||
static NSMutableDictionary *configurationDictionary = nil; | ||
static NSString *configPath = nil; | ||
|
||
@implementation ClutchConfiguration | ||
|
||
+ (id) getValue:(NSString *)key { | ||
return [configurationDictionary objectForKey:key]; | ||
} | ||
|
||
+ (BOOL) setValue:(id)value forKey:(NSString *)key { | ||
[configurationDictionary setValue:value forKey:key]; | ||
[configurationDictionary writeToFile:configPath atomically:YES]; | ||
return YES; | ||
} | ||
|
||
+ (BOOL) configWithFile:(NSString *)filename { | ||
configurationDictionary = [NSMutableDictionary dictionaryWithContentsOfFile:filename]; | ||
configPath = filename; | ||
return TRUE; | ||
} | ||
|
||
@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,18 @@ | ||
// | ||
// bash.h | ||
// Clutch | ||
// | ||
// Created by Terence Tan on 7/6/12. | ||
// Copyright (c) 2012 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
#import <Foundation/Foundation.h> | ||
|
||
@interface bash : NSObject { | ||
NSString* script; | ||
NSDictionary* env; | ||
NSTask* task; | ||
} | ||
- (void) run; | ||
@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,16 @@ | ||
// | ||
// bash.m | ||
// Clutch | ||
// | ||
// Created by Terence Tan on 7/6/12. | ||
// Copyright (c) 2012 __MyCompanyName__. All rights reserved. | ||
// | ||
|
||
#import "bash.h" | ||
@implementation bash | ||
|
||
- (void) run { | ||
|
||
} | ||
|
||
@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,30 @@ | ||
<?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>CFBundleDisplayName</key> | ||
<string>${PRODUCT_NAME}</string> | ||
<key>CFBundleExecutable</key> | ||
<string>${EXECUTABLE_NAME}</string> | ||
<key>CFBundleIconFile</key> | ||
<string></string> | ||
<key>CFBundleIdentifier</key> | ||
<string>us.hackulo.${PRODUCT_NAME:rfc1034identifier}</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>${PRODUCT_NAME}</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1.0</string> | ||
<key>LSRequiresIPhoneOS</key> | ||
<true/> | ||
<key>NSMainNibFile</key> | ||
<string>MainWindow</string> | ||
</dict> | ||
</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,18 @@ | ||
<?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>keychain-access-groups</key> | ||
<array> | ||
<string>$(AppIdentifierPrefix)us.hackulo.Clutch</string> | ||
</array> | ||
<key>task_for_pid_allow</key> | ||
<true/> | ||
<key>run-unsigned-code</key> | ||
<true/> | ||
<key>application-identifier</key> | ||
<string>us.hackulo.Clutch</string> | ||
<key>New item</key> | ||
<true/> | ||
</dict> | ||
</plist> |
Oops, something went wrong.