Files
frida-frida-python/examples/cpushark/AppDelegate.py
T
2013-10-16 23:29:53 +02:00

13 lines
415 B
Python

from Cocoa import NSApp
from Foundation import NSObject
from MainWindowController import MainWindowController
class AppDelegate(NSObject):
def applicationDidFinishLaunching_(self, notification):
window = MainWindowController()
window.showWindow_(window)
NSApp.activateIgnoringOtherApps_(True)
def applicationShouldTerminateAfterLastWindowClosed_(self, sender):
return True