private function unpackFiles() { $this->IOHelper->
writeln('Replace system files...'
);
if (!
is_dir(UPDATE_FILES_PATH
)) { $this->IOHelper->
writeln('skipped...'
);
return;
} /** @var FilesystemFactory $factory */
$factory =
$this->container->
get('filesystem.factory'
);
$localFilesytem =
$factory->
createLocalFilesystem();
$remoteFilesystem =
$factory->
createLocalFilesystem();
/** @var PathBuilder $pathBuilder */
$pathBuilder =
$this->container->
get('path.builder'
);
$debug = false;
$step =
new UnpackStep($localFilesytem,
$remoteFilesystem,
$pathBuilder,
$debug);
$offset = 0;
$total = 0;
do {