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:
parent
8d6719bba0
commit
9ec3194c5e
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue