diff --git a/data/manifest.yaml b/data/manifest.yaml index abcb32d1..8df3969c 100644 --- a/data/manifest.yaml +++ b/data/manifest.yaml @@ -111625,10 +111625,6 @@ Christmas Crisis: steam: id: 961260 Christmas Defence: - files: - "//*.ini": - when: - - store: steam installDir: Christmas Defence: {} launch: @@ -135752,10 +135748,6 @@ Crossroad: when: - os: linux store: steam - "/Library/RenPy/**/*.save": - when: - - os: mac - store: steam "/RenPy/CrossRoad_Lumi-1508689268/*.save": when: - os: windows @@ -196777,11 +196769,6 @@ ElectricScribe: steam: id: 661810 ElectricVLab: - files: - "/Saved Games/**/*.lab": - when: - - os: windows - store: steam installDir: ElectricVLab: {} launch: @@ -234137,10 +234124,6 @@ For Honor: steam: id: 304390 For Inco: - files: - "/AppData/LocalLow/*.FI": - when: - - store: steam installDir: For Inco: {} launch: @@ -267503,10 +267486,6 @@ Guardian of the Future: when: - os: linux store: steam - "/Library/RenPy/**/*.save": - when: - - os: mac - store: steam "/RenPy/GuardianOfTheFuture-1564986983/*.save": when: - os: windows @@ -276205,9 +276184,6 @@ Harvest Life: id: 1246870 "Harvest Moon: The Winds of Anthos": files: - "//**/*.sav": - when: - - store: steam "/AppData/LocalLowNatsume Inc_/Harvest Moon_ The Winds of Anthos//*.sav": when: - os: windows @@ -311527,10 +311503,6 @@ Instinct (2018): when: - os: linux store: steam - "/Library/RenPy/*.save": - when: - - os: mac - store: steam "//RenPy/Instinct-1523731438/*.save": when: - os: windows @@ -321599,10 +321571,6 @@ Journey of Johann: steam: id: 625630 Journey of Life: - files: - "/My Games/*.jol": - when: - - store: steam installDir: Journey of Life: {} launch: @@ -370789,9 +370757,6 @@ Marimba VR: id: 560930 Marinatide: files: - "//*.sav": - when: - - store: steam "/Marinatide.app/Contents/savegame//*.sav": when: - os: mac @@ -488588,10 +488553,6 @@ Regiments: when: - os: mac store: steam - "/unity3d//RGT*.sav": - when: - - os: linux - store: steam gog: id: 1770055681 installDir: @@ -552856,10 +552817,6 @@ Sounds of Verity: when: - os: linux store: steam - "/Library/RenPy/*.save": - when: - - os: mac - store: steam "//AppDate/Roaming/RenPy/SoundsOfVerity/*.save": when: - os: windows @@ -555773,10 +555730,6 @@ Space Reign: id: 1762570 Space Ribbon: files: - "/Documents/**/*.sav": - when: - - os: mac - store: steam "/Saved Games/SpaceRibbon/**/*.sav": when: - os: windows diff --git a/data/missing.md b/data/missing.md index 0736e18f..8520e2b0 100644 --- a/data/missing.md +++ b/data/missing.md @@ -4609,6 +4609,7 @@ * [Christmas Cats Revenge](https://www.pcgamingwiki.com/wiki/?curid=153616) * [Christmas Clicker: Idle Gift Builder](https://www.pcgamingwiki.com/wiki/?curid=124024) * [Christmas Crisis](https://www.pcgamingwiki.com/wiki/?curid=156075) +* [Christmas Defence](https://www.pcgamingwiki.com/wiki/?curid=124094) * [Christmas Eve: Midnight's Call](https://www.pcgamingwiki.com/wiki/?curid=54649) * [Christmas Mahjong](https://www.pcgamingwiki.com/wiki/?curid=113894) * [Christmas Mahjong 2](https://www.pcgamingwiki.com/wiki/?curid=113882) @@ -7987,6 +7988,7 @@ * [Electric Sheep: A Cyberpunk Dystopia](https://www.pcgamingwiki.com/wiki/?curid=145242) * [Electric Zombies!](https://www.pcgamingwiki.com/wiki/?curid=33932) * [ElectricScribe](https://www.pcgamingwiki.com/wiki/?curid=65055) +* [ElectricVLab](https://www.pcgamingwiki.com/wiki/?curid=108796) * [ElectriX: Electro Mechanic Simulator](https://www.pcgamingwiki.com/wiki/?curid=63867) * [Electro Pong VR](https://www.pcgamingwiki.com/wiki/?curid=66227) * [Electronauts](https://www.pcgamingwiki.com/wiki/?curid=78796) @@ -9546,6 +9548,7 @@ * [Footy Showdown](https://www.pcgamingwiki.com/wiki/?curid=169546) * [For a Better Country](https://www.pcgamingwiki.com/wiki/?curid=145320) * [For Food Sake! VR](https://www.pcgamingwiki.com/wiki/?curid=87041) +* [For Inco](https://www.pcgamingwiki.com/wiki/?curid=148593) * [For Rent: Haunted House](https://www.pcgamingwiki.com/wiki/?curid=80816) * [For the Night](https://www.pcgamingwiki.com/wiki/?curid=150424) * [For the Revenge](https://www.pcgamingwiki.com/wiki/?curid=104665) @@ -13303,6 +13306,7 @@ * [Journey For Elysium](https://www.pcgamingwiki.com/wiki/?curid=142121) * [Journey of Greed](https://www.pcgamingwiki.com/wiki/?curid=131980) * [Journey of Haha](https://www.pcgamingwiki.com/wiki/?curid=136816) +* [Journey of Life](https://www.pcgamingwiki.com/wiki/?curid=92189) * [Journey of the Fox](https://www.pcgamingwiki.com/wiki/?curid=94491) * [Journey of the King](https://www.pcgamingwiki.com/wiki/?curid=49119) * [Journey of the Light](https://www.pcgamingwiki.com/wiki/?curid=59760) diff --git a/src/path.rs b/src/path.rs index b8d29e87..46e35bfa 100644 --- a/src/path.rs +++ b/src/path.rs @@ -95,20 +95,10 @@ fn too_broad(path: &str) -> bool { "C:/Program Files".to_string(), "C:/Program Files (x86)".to_string(), ] { - if path == item { - return true; - } - } - - // Several games/episodes are grouped together here. - for item in [ - format!("{HOME}/*/"), - format!("{HOME}/**/"), - format!("{WIN_DOCUMENTS}/Telltale Games/*/"), - format!("{XDG_CONFIG}/unity3d/*"), - format!("{XDG_DATA}/unity3d/*"), - ] { - if path.starts_with(&item) { + if path == item + || path.starts_with(&format!("{item}/*")) + || path.starts_with(&format!("{item}/{STORE_USER_ID}")) + { return true; } }