feat: Add the Game Jolt store (#1986)

This commit is contained in:
FX1922 authored and GitHub committed 2026-11-02 10:05:30 -05:00
1 parent 0050b5eb6b
commit 3583643a11
74 files changed
+3215 -275

No files matched your search

@@ -87,6 +87,11 @@ class LibraryEntriesTest {
assertEquals(listOf("epic", "gog", "battlenet"), librarySources(entries, listOf("missing", "epic", "epic", "amazon")))
}
@Test fun aSignedInStoreWithNoGamesKeepsItsPlaceInTheStoreOrder() {
val entries = listOf("steam", "xbox").map { LibraryEntry(it, it, it, null, null, true) }
assertEquals(listOf("steam", "xbox", "itch", "gamejolt"), librarySources(entries, listOf("xbox", "itch", "gamejolt"), setOf("itch", "gamejolt")))
}
@Test fun gameKeysNameEitherAnAppOrAStoreProduct() {
GameRef.parse("app:440").let { assertEquals(440, it.appId); assertNull(it.store) }
GameRef.parse("app:-12").let { assertEquals(-12, it.appId) }