fix: Don't set QT_QPA_PLATFORM

It looks like it not needed with the static build and it causes troubles on Windows
This commit is contained in:
Pierre Rudloff 2018-01-25 16:08:00 +01:00
parent 8d6719bba0
commit 9ec3194c5e

View file

@ -99,7 +99,7 @@ class VideoDownload
$process = $this->getProcess($arguments); $process = $this->getProcess($arguments);
//This is needed by the openload extractor because it runs PhantomJS //This is needed by the openload extractor because it runs PhantomJS
$process->setEnv(['QT_QPA_PLATFORM'=>'phantom', 'PATH'=>$this->config->phantomjsDir]); $process->setEnv(['PATH'=>$this->config->phantomjsDir]);
$process->inheritEnvironmentVariables(); $process->inheritEnvironmentVariables();
$process->run(); $process->run();
if (!$process->isSuccessful()) { if (!$process->isSuccessful()) {