Make sure to reload keys after Migration

This fix keys not being loaded on the first run right after migration.
This commit is contained in:
Thog 2020-01-05 16:39:35 +01:00
parent 63b24b4af2
commit 01daefe38d
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6
2 changed files with 5 additions and 2 deletions

View file

@ -50,7 +50,7 @@ namespace Ryujinx
string appDataPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Ryujinx", "system", "prod.keys");
string userProfilePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".switch", "prod.keys");
if (!File.Exists(appDataPath) && !File.Exists(userProfilePath))
if (!File.Exists(appDataPath) && !File.Exists(userProfilePath) && !Migration.IsMigrationNeeded())
{
GtkDialog.CreateErrorDialog("Key file was not found. Please refer to `KEYS.md` for more info");
}