mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00: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
|