mirror of
https://github.com/gilshahar7/InstantAssistant.git
synced 2025-06-27 16:46:47 +00:00
Add files via upload
This commit is contained in:
1
InstantAssistant.plist
Normal file
1
InstantAssistant.plist
Normal file
@ -0,0 +1 @@
|
|||||||
|
{ Filter = { Bundles = ( "com.google.OPA" ); }; }
|
11
Makefile
Normal file
11
Makefile
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
ARCHS = armv7 arm64
|
||||||
|
include $(THEOS)/makefiles/common.mk
|
||||||
|
|
||||||
|
TWEAK_NAME = InstantAssistant
|
||||||
|
InstantAssistant_FILES = Tweak.xm
|
||||||
|
InstantAssistant_FRAMEWORKS = UIKit
|
||||||
|
|
||||||
|
include $(THEOS_MAKE_PATH)/tweak.mk
|
||||||
|
|
||||||
|
after-install::
|
||||||
|
install.exec "killall -9 OPA"
|
15
Tweak.xm
Normal file
15
Tweak.xm
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
@interface OPASearchViewController
|
||||||
|
-(void)didTapOnGlifView;
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface OPAViewController
|
||||||
|
@property (nonatomic, assign) OPASearchViewController *searchViewController;
|
||||||
|
@end
|
||||||
|
|
||||||
|
%hook OPAViewController
|
||||||
|
-(void)viewDidLoad{
|
||||||
|
%orig;
|
||||||
|
[[NSNotificationCenter defaultCenter] addObserver:self.searchViewController selector:@selector(didTapOnGlifView) name:UIApplicationDidBecomeActiveNotification object:nil];
|
||||||
|
[self.searchViewController didTapOnGlifView];
|
||||||
|
}
|
||||||
|
%end
|
9
control
Normal file
9
control
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Package: com.gilshahar7.instantassistant
|
||||||
|
Name: InstantAssistant
|
||||||
|
Depends: mobilesubstrate
|
||||||
|
Version: 1.0
|
||||||
|
Architecture: iphoneos-arm
|
||||||
|
Description: Always launches the Google Assistant in "listening mode"
|
||||||
|
Maintainer: gilshahar7
|
||||||
|
Author: gilshahar7
|
||||||
|
Section: Tweaks
|
BIN
packages/com.gilshahar7.instantassistant_1.0_iphoneos-arm.deb
Normal file
BIN
packages/com.gilshahar7.instantassistant_1.0_iphoneos-arm.deb
Normal file
Binary file not shown.
Reference in New Issue
Block a user