build: Python3 compat and Win line-endings fixes (#26091)
This commit is contained in:
parent
f065b2ddef
commit
e9cd227b5b
4 changed files with 54 additions and 25 deletions
|
@ -161,7 +161,7 @@ def run_python_upload_script(script, *args):
|
|||
|
||||
|
||||
def get_electron_build_version():
|
||||
if get_target_arch().startswith('arm') or os.environ.has_key('CI'):
|
||||
if get_target_arch().startswith('arm') or 'CI' in os.environ:
|
||||
# In CI we just build as told.
|
||||
return ELECTRON_VERSION
|
||||
electron = get_electron_exec()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue