mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
💄 on string comparison.
This commit is contained in:
@@ -26,7 +26,7 @@ def main():
|
||||
update_apm()
|
||||
update_node_modules()
|
||||
bootstrap_brightray(args.url)
|
||||
if sys.platform is 'cygwin':
|
||||
if sys.platform == 'cygwin':
|
||||
update_win32_python()
|
||||
|
||||
touch_config_gypi()
|
||||
|
||||
@@ -17,7 +17,7 @@ def main():
|
||||
|
||||
|
||||
def update_frameworks():
|
||||
if sys.platform is 'darwin':
|
||||
if sys.platform == 'darwin':
|
||||
uf = os.path.join('script', 'update-frameworks.py')
|
||||
subprocess.check_call([sys.executable, uf])
|
||||
|
||||
@@ -25,7 +25,7 @@ def update_frameworks():
|
||||
def update_gyp():
|
||||
gyp = os.path.join('vendor', 'gyp', 'gyp_main.py')
|
||||
python = sys.executable
|
||||
if sys.platform is 'cygwin':
|
||||
if sys.platform == 'cygwin':
|
||||
python = os.path.join('vendor', 'python_26', 'python.exe')
|
||||
subprocess.call([python, gyp,
|
||||
'-f', 'ninja', '--depth', '.', 'atom.gyp',
|
||||
|
||||
Reference in New Issue
Block a user