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

View file

@ -28979,7 +28979,6 @@
* [SQR 2](https://www.pcgamingwiki.com/wiki/?curid=64050) * [SQR 2](https://www.pcgamingwiki.com/wiki/?curid=64050)
* [SQR 3](https://www.pcgamingwiki.com/wiki/?curid=73827) * [SQR 3](https://www.pcgamingwiki.com/wiki/?curid=73827)
* [SQR 4](https://www.pcgamingwiki.com/wiki/?curid=134678) * [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) * [Squad Z](https://www.pcgamingwiki.com/wiki/?curid=104243)
* [Squadron 42](https://www.pcgamingwiki.com/wiki/?curid=189862) * [Squadron 42](https://www.pcgamingwiki.com/wiki/?curid=189862)
* [Squadron: Sky Guardians](https://www.pcgamingwiki.com/wiki/?curid=65578) * [Squadron: Sky Guardians](https://www.pcgamingwiki.com/wiki/?curid=65578)

View file

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

View file

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

View file

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

View file

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