mirror of
https://github.com/servo/servo
synced 2026-05-14 10:56:44 +02:00
Only enable borderless browserhtml window on OSX.
Pass browserhtml path as relative path to avoid a mingw->windows path conversion
This commit is contained in:
@@ -105,6 +105,15 @@ def check_call(*args, **kwargs):
|
||||
return subprocess.check_call(*args, shell=sys.platform == 'win32', **kwargs)
|
||||
|
||||
|
||||
def is_windows():
|
||||
""" Detect windows, mingw, cygwin """
|
||||
return sys.platform == 'win32' or sys.platform == 'msys' or sys.platform == 'cygwin'
|
||||
|
||||
|
||||
def is_macosx():
|
||||
return sys.platform == 'darwin'
|
||||
|
||||
|
||||
class BuildNotFound(Exception):
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
|
||||
Reference in New Issue
Block a user