Files
frida-frida-python/examples/cpushark/AppDelegate.py
T
2022-09-12 20:59:52 +03:00

14 lines
416 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