mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-21 20:27:45 +00:00
Fix crash when game is not installed
This commit is contained in:
parent
21e272ab66
commit
83e53dcaa8
1 changed files with 1 additions and 2 deletions
|
@ -497,8 +497,7 @@ void LauncherCore::readWineInfo(ProfileSettings& profile) {
|
|||
|
||||
void LauncherCore::readGameVersion() {
|
||||
for(auto& profile : profileSettings) {
|
||||
profile->bootVersion = readVersion(profile->gamePath + "/boot/ffxivboot.ver");
|
||||
profile->installedMaxExpansion = 0;
|
||||
profile.bootVersion = readVersion(profile.gamePath + "/boot/ffxivboot.ver");
|
||||
|
||||
auto sqpackDirectories = QDir(profile->gamePath + "/game/sqpack/").entryList(QDir::Filter::Dirs | QDir::Filter::NoDotAndDotDot);
|
||||
profile->gameVersions.resize(sqpackDirectories.size());
|
||||
|
|
Loading…
Add table
Reference in a new issue