do the win32api thing if it's mingw. thanks Ludovic Courgnaud
git-svn-id: file:///home/svn/framework3/trunk@11651 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
21d93be897
commit
47a706962a
|
@ -121,7 +121,7 @@ def self.open_browser(url='http://metasploit.com/')
|
|||
end
|
||||
return if not @@loaded_win32api
|
||||
Win32API.new("shell32.dll", "ShellExecute", ["PPPPPL"], "L").call(nil, "open", url, nil, nil, 0)
|
||||
when /mswin32/
|
||||
when /mswin32|mingw/
|
||||
return if not @@loaded_win32api
|
||||
Win32API.new("shell32.dll", "ShellExecute", ["PPPPPL"], "L").call(nil, "open", url, nil, nil, 0)
|
||||
when /darwin/
|
||||
|
|
Loading…
Reference in New Issue