修改超时时间
This commit is contained in:
parent
1fb432a784
commit
b2cfb485af
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -11,6 +11,7 @@ TWEAK_NAME = AppRunMan
|
|||||||
AppRunMan_FRAMEWORKS = CoreLocation CFNetwork CoreTelephony Security UIKit IOSurface JavaScriptCore network
|
AppRunMan_FRAMEWORKS = CoreLocation CFNetwork CoreTelephony Security UIKit IOSurface JavaScriptCore network
|
||||||
AppRunMan_PRIVATE_FRAMEWORKS = IOKit
|
AppRunMan_PRIVATE_FRAMEWORKS = IOKit
|
||||||
AppRunMan_FILES = Tweak.x $(wildcard server/*.m) $(wildcard server/GCD/*.m)
|
AppRunMan_FILES = Tweak.x $(wildcard server/*.m) $(wildcard server/GCD/*.m)
|
||||||
|
AppRunMan_LDFLAGS = -v
|
||||||
AppRunMan_CFLAGS = -Wno-error -Wno-module-import-in-extern-c -fobjc-arc
|
AppRunMan_CFLAGS = -Wno-error -Wno-module-import-in-extern-c -fobjc-arc
|
||||||
|
|
||||||
include $(THEOS_MAKE_PATH)/tweak.mk
|
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||||
|
|||||||
@ -273,7 +273,7 @@ BOOL myadTaskManualStop = NO;
|
|||||||
NSDate* curRunTime = [NSDate date];
|
NSDate* curRunTime = [NSDate date];
|
||||||
NSTimeInterval elapsed = [curRunTime timeIntervalSinceDate:self->lastRun];
|
NSTimeInterval elapsed = [curRunTime timeIntervalSinceDate:self->lastRun];
|
||||||
|
|
||||||
if (elapsed >= 30) {
|
if (elapsed >= 60) {
|
||||||
[self start];
|
[self start];
|
||||||
} else {
|
} else {
|
||||||
NSString* appId = [self frontMostAppId];
|
NSString* appId = [self frontMostAppId];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user