mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix(scripts): account for sys.platform being "linux" as well "linux2" (#21741)
This commit is contained in:
committed by
Cheng Zhao
parent
a0a932826c
commit
29b7d80eb5
@@ -260,6 +260,7 @@ def get_buildtools_executable(name):
|
||||
buildtools = os.path.realpath(os.path.join(ELECTRON_DIR, '..', 'buildtools'))
|
||||
chromium_platform = {
|
||||
'darwin': 'mac',
|
||||
'linux': 'linux64',
|
||||
'linux2': 'linux64',
|
||||
'win32': 'win',
|
||||
}[sys.platform]
|
||||
|
||||
Reference in New Issue
Block a user