Created
December 16, 2016 12:47
-
-
Save avielg/8bba086c217f04b10ac50403dd54ffb7 to your computer and use it in GitHub Desktop.
mario.py
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
# coding: utf-8 | |
from objc_util import * | |
from ctypes import * | |
libobjc = CDLL('/usr/lib/libobjc.dylib') | |
#NSObject = ObjCClass('NSObject') | |
LSAppilcationWorkspace = ObjCClass('LSApplicationWorkspace') | |
@on_main_thread | |
def main(): | |
workspace = LSAppilcationWorkspace.defaultWorkspace() | |
workspace.openApplicationWithBundleID("com.nintendo.zara") | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment