Skip to content

Instantly share code, notes, and snippets.

@avielg
Created December 16, 2016 12:47
Show Gist options
  • Save avielg/8bba086c217f04b10ac50403dd54ffb7 to your computer and use it in GitHub Desktop.
Save avielg/8bba086c217f04b10ac50403dd54ffb7 to your computer and use it in GitHub Desktop.
mario.py
# 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