-
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 d9ff0f9
Showing
11 changed files
with
73 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,4 @@ | ||
._* | ||
.theos | ||
obj | ||
_ |
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.ooi.dinerdash" ); }; } |
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,9 @@ | ||
THEOS_DEVICE_IP = 192.168.1.111 | ||
THEOS_DEVICE_PORT = 22 | ||
|
||
include theos/makefiles/common.mk | ||
|
||
TWEAK_NAME = DinerDashAll | ||
DinerDashAll_FILES = Tweak.xm | ||
|
||
include $(THEOS_MAKE_PATH)/tweak.mk |
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,49 @@ | ||
// Diner Dash All | ||
// Run Diner Dash on all iOS devices | ||
// by mbilker | ||
|
||
%hook UIDevicePlatform | ||
|
||
- (id)platform | ||
{ | ||
//%log; | ||
//id p = %orig; | ||
//NSLog(@"platform: '%@'",p); | ||
id p = @"iPod3,1"; | ||
return p; | ||
} | ||
|
||
- (id)platformString | ||
{ | ||
//%log; | ||
//id ps = %orig; | ||
//NSLog(@"platformString: '%@'",ps); | ||
id ps = @"iPod3G"; | ||
return ps; | ||
} | ||
|
||
- (BOOL)supportsBluetoothNetworking | ||
{ | ||
//%log; | ||
BOOL s = %orig; | ||
NSLog(@"supportsBluetoothNetworking: '%@'",s ? @"YES" : @"NO"); | ||
return s; | ||
} | ||
|
||
- (int)majorSystemVersion | ||
{ | ||
//%log; | ||
int msv = %orig; | ||
NSLog(@"majorSystemVersion: '%d'",msv); | ||
return msv; | ||
} | ||
|
||
- (int)minorSystemVersion | ||
{ | ||
//%log; | ||
int msv = %orig; | ||
NSLog(@"majorSystemVersion: '%d'",msv); | ||
return msv; | ||
} | ||
|
||
%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,9 @@ | ||
Package: us.mbilker.dinerdashall | ||
Name: Diner Dash All | ||
Depends: mobilesubstrate | ||
Version: 0.0.1 | ||
Architecture: iphoneos-arm | ||
Description: An awesome MobileSubstrate tweak! | ||
Maintainer: mbilker | ||
Author: mbilker | ||
Section: Tweaks |
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 @@ | ||
/opt/theos |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.