mirror of
https://github.com/tenox7/wrp.git
synced 2025-01-03 07:29:37 +00:00
Allow Mac OS X to load non-SSL secured URLs, closes #11
Signed-off-by: Natalia Portillo <claunia@claunia.com>
This commit is contained in:
parent
e209d42e30
commit
f91e9ce356
@ -210,6 +210,7 @@ def main():
|
||||
app = AppKit.NSApplication.sharedApplication()
|
||||
delegate = AppDelegate.alloc().init()
|
||||
AppKit.NSApp().setDelegate_(delegate)
|
||||
AppKit.NSBundle.mainBundle().infoDictionary()['NSAppTransportSecurity'] = dict(NSAllowsArbitraryLoads = True)
|
||||
rect = Foundation.NSMakeRect(-16000,-16000,100,100)
|
||||
win = AppKit.NSWindow.alloc()
|
||||
win.initWithContentRect_styleMask_backing_defer_ (rect, AppKit.NSBorderlessWindowMask, 2, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user