fix(scripts): account for sys.platform being "linux" as well "linux2" (#21741)
This commit is contained in:
parent
a0a932826c
commit
29b7d80eb5
1 changed files with 1 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue