mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add xvfb-init.sh to docker context
This commit is contained in:
committed by
Aleksei Kuzmin
parent
c3e0e4682d
commit
f1036f7305
@@ -60,9 +60,9 @@ def main():
|
||||
deps += LINUX_DEPS_NO_ARM
|
||||
execute(['sudo', 'apt-get', 'install'] + deps)
|
||||
|
||||
if PLATFORM == 'linux':
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
|
||||
if PLATFORM == 'linux':
|
||||
os.environ['DISPLAY'] = ':99.0'
|
||||
execute(['sh', '-e', '/etc/init.d/xvfb', 'start'])
|
||||
|
||||
# CI's npm is not reliable.
|
||||
npm = 'npm.cmd' if PLATFORM == 'win32' else 'npm'
|
||||
|
||||
Reference in New Issue
Block a user