Skip to content

Commit 8f47a47

Browse files
committed
Attempt to skip config and gamesettings folders on update
1 parent 92990a4 commit 8f47a47

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Source/Core/DolphinQt/ProjectPlus/InstallUpdateDialog.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,12 @@ bool InstallUpdateDialog::unzipFile(const std::string& zipFilePath, const std::s
362362
count_status = mz_zip_reader_goto_next_entry(reader);
363363
}
364364

365+
// Skip User/Config and User/GameSettings directories
366+
if (std::string(filename).find("User/Config") == 0 || std::string(filename).find("User/GameSettings") == 0)
367+
{
368+
continue; // Skip these directories
369+
}
370+
365371
// Reset to first entry for extraction
366372
int32_t entry_status = mz_zip_reader_goto_first_entry(reader);
367373
int current_file = 0;

0 commit comments

Comments
 (0)