修改分包bug

master
ELF 5 years ago
parent e853fc1c3e
commit 09672d13b4

@ -137,6 +137,7 @@ class GameSourceService {
$oldLocalPath = $localPath; $oldLocalPath = $localPath;
$localPath = str_replace('Uploads/SourcePack', 'Uploads/Ios/original', $oldLocalPath); $localPath = str_replace('Uploads/SourcePack', 'Uploads/Ios/original', $oldLocalPath);
$originalUrl = $relativeUrl; $originalUrl = $relativeUrl;
$relativeUrl = str_replace('Uploads/SourcePack', 'Uploads/Ios/original', $relativeUrl);
copy($oldLocalPath, $localPath); copy($oldLocalPath, $localPath);
} }
$status = $this->packChannel($localPath, $game, $gameSource); $status = $this->packChannel($localPath, $game, $gameSource);

Loading…
Cancel
Save