mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-22 20:47:45 +00:00
Create directory needed for version file when patching
Doesn't fix any real bugs, but just something I noticed since in Dawntrail the first ex5 pack seems to only add a movie.
This commit is contained in:
parent
bf5baadc38
commit
94ee8fa838
1 changed files with 3 additions and 1 deletions
|
@ -204,7 +204,9 @@ void Patcher::processPatch(const QueuedPatch &patch)
|
|||
if (patch.repository == "game"_L1) {
|
||||
verFilePath = m_baseDirectory + QStringLiteral("/ffxivgame.ver");
|
||||
} else {
|
||||
verFilePath = m_baseDirectory + QStringLiteral("/sqpack/") + patch.repository + QStringLiteral("/") + patch.repository + QStringLiteral(".ver");
|
||||
const QString sqPackDir = m_baseDirectory + QStringLiteral("/sqpack/") + patch.repository + QStringLiteral("/");
|
||||
Utility::createPathIfNeeded(sqPackDir);
|
||||
verFilePath = sqPackDir + patch.repository + QStringLiteral(".ver");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue