mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 19:30:57 +00:00
b942f98f37
+ This means support for any freebsd version (note that I only tested 11-CURRENT and 9)
17 lines
372 B
Python
17 lines
372 B
Python
import sys
|
|
|
|
resolver = None
|
|
|
|
if sys.platform == "linux2":
|
|
from . import linux
|
|
resolver = linux.Resolver
|
|
elif sys.platform == "darwin":
|
|
from . import osx
|
|
resolver = osx.Resolver
|
|
elif sys.platform.startswith("freebsd"):
|
|
from . import osx
|
|
resolver = osx.Resolver
|
|
elif sys.platform == "win32":
|
|
from . import windows
|
|
resolver = windows.Resolver
|