Refresh data for some recent renames

This commit is contained in:
mtkennerly 2023-12-22 22:32:43 +08:00
parent f25a3a91fe
commit 96ffee28da
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
6 changed files with 18 additions and 18 deletions

View file

@ -296025,16 +296025,16 @@ Koihime Enbu RyoRaiRai:
id: 795510
Koikatsu:
files:
"<base>/Koikatsu Party/UserData/save":
tags:
- save
when:
- os: windows
"<base>/UserData/config":
tags:
- config
when:
- os: windows
"<base>/UserData/save":
tags:
- save
when:
- os: windows
installDir:
Koikatsu Party: {}
launch:
@ -499252,6 +499252,12 @@ Squad:
steam:
id: 393380
Squad 51 vs. the Flying Saucers:
files:
"<winLocalAppData>/Squad51/Saved/SaveGames":
tags:
- save
when:
- os: windows
installDir:
Squadron 51: {}
steam:
@ -625173,7 +625179,7 @@ Where They Cremate the Roadkill:
Where They Cremate The Roadkill: {}
launch:
"<base>/Contents/MacOS/WineskinLauncher":
- arguments: "../Resources/drive_c/Program\\\\ Files/.WTCTR/Game.exe"
- arguments: "../Resources/drive_c/Program\\ Files/.WTCTR/Game.exe"
when:
- os: mac
store: steam

View file

@ -28979,7 +28979,6 @@
* [SQR 2](https://www.pcgamingwiki.com/wiki/?curid=64050)
* [SQR 3](https://www.pcgamingwiki.com/wiki/?curid=73827)
* [SQR 4](https://www.pcgamingwiki.com/wiki/?curid=134678)
* [Squad 51 vs. the Flying Saucers](https://www.pcgamingwiki.com/wiki/?curid=166523)
* [Squad Z](https://www.pcgamingwiki.com/wiki/?curid=104243)
* [Squadron 42](https://www.pcgamingwiki.com/wiki/?curid=189862)
* [Squadron: Sky Guardians](https://www.pcgamingwiki.com/wiki/?curid=65578)

View file

@ -220896,7 +220896,7 @@
oslist: windows
executable: Launcher.exe
type: default
- arguments: "../Resources/drive_c/Program\\\\ Files/.WTCTR/Game.exe"
- arguments: "../Resources/drive_c/Program\\ Files/.WTCTR/Game.exe"
config:
oslist: macos
executable: Contents/MacOS/WineskinLauncher

View file

@ -88447,7 +88447,7 @@ Koikatsu:
steam: 1073440
templates:
- "{{Game data/config|Windows|{{p|game}}\\UserData\\config}}"
- "{{Game data/saves|Windows|{{p|game}}\\Koikatsu Party\\UserData\\save}}"
- "{{Game data/saves|Windows|{{p|game}}\\UserData\\save}}"
Koikoi:
pageId: 100190
steam: 763380
@ -149342,6 +149342,8 @@ Squad 51 vs. the Flying Saucers:
renamedFrom:
- Squadron 51
steam: 1378800
templates:
- "{{Game data/saves|Windows|{{p|localappdata}}\\Squad51\\Saved\\SaveGames}}"
Squad Z:
pageId: 104243
steam: 784030

View file

@ -111,7 +111,7 @@ pub async fn run(
steam_cache.transition_states_from(wiki_cache);
steam_cache.refresh(outdated_only, None, limit, steam_from)?;
manifest.refresh(manifest_override, wiki_cache, steam_cache, None)?;
manifest.refresh(manifest_override, wiki_cache, steam_cache)?;
schema::validate_manifest(manifest)?;
}
Subcommand::Solo { local, games } => {
@ -131,7 +131,7 @@ pub async fn run(
steam_cache.refresh(outdated_only, Some(steam_ids), None, None)?;
}
manifest.refresh(manifest_override, wiki_cache, steam_cache, Some(games))?;
manifest.refresh(manifest_override, wiki_cache, steam_cache)?;
schema::validate_manifest(manifest)?;
}
Subcommand::Schema => {

View file

@ -118,17 +118,10 @@ impl Manifest {
overrides: &ManifestOverride,
wiki_cache: &WikiCache,
steam_cache: &SteamCache,
games: Option<Vec<String>>,
) -> Result<(), Error> {
self.0.clear();
for (title, info) in &wiki_cache.0 {
if let Some(games) = &games {
if !games.contains(title) {
continue;
}
}
if overrides.0.get(title).map(|x| x.omit).unwrap_or(false) {
continue;
}