Skip to content

Commit

Permalink
🎨 PlatformSwitcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Lxy829 committed Feb 6, 2024
1 parent 1bf13ff commit 6a9af1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ public async Task<bool> DeleteAccountInfo(IAccount account, PlatformAccount plat
// _ = allIds.Remove(accId);
//}
//else
_ = allIds.Remove(allIds.Single(x => x.Value == account.AccountId).Key);
_ = allIds.Remove(allIds.Single(x => x.Key == account.AccountId).Key);
File.WriteAllText(platform.IdsJsonPath, JsonConvert.SerializeObject(allIds));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
"%LocalAppData%\\Riot Games\\Riot Client\\Config": "RiotClientSettings.yaml",
"%LocalAppData%\\Riot Games\\Riot Client\\WattToolkit.id": "WattToolkit.id"
},
"UniqueIdFile": "%LocalAppData%\\Riot Games\\Riot Client\\WattToolkit.id",
"UniqueIdPath": "%LocalAppData%\\Riot Games\\Riot Client\\WattToolkit.id",
"UniqueIdType": 1
},
{
Expand All @@ -170,7 +170,7 @@
"%Documents%\\Rockstar Games\\Social Club\\Launcher\\Renderer\\Cache\\f_*"
],
"IsExitBeforeInteract": true,
"UniqueIdFile": "%ProgramData%\\Rockstar Games\\WattToolkit.id",
"UniqueIdPath": "%ProgramData%\\Rockstar Games\\WattToolkit.id",
"UniqueIdType": 1
},
{
Expand All @@ -185,7 +185,7 @@
"JSON_SELECT_FIRST,::%AppData%\\Battle.net\\Battle.net.config::$.Client.SavedAccountNames": "email.json"
},
"IsExitBeforeInteract": true,
"UniqueIdFile": "%AppData%\\Battle.net\\Battle.net.config::$.Client.SavedAccountNames",
"UniqueIdMethod": "JSON_SELECT_FIRST,"
"UniqueIdPath": "%AppData%\\Battle.net\\Battle.net.config::$.Client.SavedAccountNames",
"UniqueIdType": 5
}
]

0 comments on commit 6a9af1d

Please sign in to comment.