mirror of
https://github.com/tenox7/wrp.git
synced 2025-04-27 23:50:02 +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()
|
app = AppKit.NSApplication.sharedApplication()
|
||||||
delegate = AppDelegate.alloc().init()
|
delegate = AppDelegate.alloc().init()
|
||||||
AppKit.NSApp().setDelegate_(delegate)
|
AppKit.NSApp().setDelegate_(delegate)
|
||||||
|
AppKit.NSBundle.mainBundle().infoDictionary()['NSAppTransportSecurity'] = dict(NSAllowsArbitraryLoads = True)
|
||||||
rect = Foundation.NSMakeRect(-16000,-16000,100,100)
|
rect = Foundation.NSMakeRect(-16000,-16000,100,100)
|
||||||
win = AppKit.NSWindow.alloc()
|
win = AppKit.NSWindow.alloc()
|
||||||
win.initWithContentRect_styleMask_backing_defer_ (rect, AppKit.NSBorderlessWindowMask, 2, 0)
|
win.initWithContentRect_styleMask_backing_defer_ (rect, AppKit.NSBorderlessWindowMask, 2, 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user