From 9ec3194c5e8c65b0071e0e77d077667cf841e005 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 25 Jan 2018 16:08:00 +0100 Subject: [PATCH] fix: Don't set QT_QPA_PLATFORM It looks like it not needed with the static build and it causes troubles on Windows --- classes/VideoDownload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/VideoDownload.php b/classes/VideoDownload.php index 398a6f0..5b17bd3 100644 --- a/classes/VideoDownload.php +++ b/classes/VideoDownload.php @@ -99,7 +99,7 @@ class VideoDownload $process = $this->getProcess($arguments); //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->run(); if (!$process->isSuccessful()) {