mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
14 lines
416 B
Python
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
|