added linux check

This commit is contained in:
Darangi 2020-01-09 19:42:43 +01:00
parent d89d035e7f
commit 47154351f0

View File

@ -84,8 +84,8 @@ function runCoreMainProcessTests (callback) {
'--resource-path', resourcePath,
'--test', '--main-process', testPath
]
if(process.env.CI){
if(process.env.CI && process.platform === 'linux') {
testArguments.push('--no-sandbox')
}