mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 20:36:04 +00:00
fix: keep the shader pre-caching choice until a session confirms it, and read it from its own VDF section
This commit is contained in:
1 parent
f88227ed74
commit
b76f13f7ac
6 files changed
+58
-13
No files matched your search
@@ -106,6 +106,14 @@ class SteamStorageTest {
|
||||
assertEquals(false, SteamStorage.shaderPrecache(vdf))
|
||||
assertEquals(true, SteamStorage.shaderPrecache(vdf.replace("\"DisableShaderCache\"\t\t\"1\"", "\"DisableShaderCache\"\t\t\"0\"")))
|
||||
assertEquals(true, SteamStorage.shaderPrecache("\"InstallConfigStore\" {}"))
|
||||
assertEquals(true, SteamStorage.shaderPrecache("""
|
||||
"InstallConfigStore"
|
||||
{
|
||||
// "DisableShaderCache" "1"
|
||||
"Other" { "DisableShaderCache" "1" }
|
||||
"Software" { "Valve" { "Steam" { "ShaderCacheManager" { "DisableShaderCache" "0" } } } }
|
||||
}
|
||||
""".trimIndent()))
|
||||
}
|
||||
|
||||
@Test fun readsCustomToolName() {
|
||||
|
||||
Reference in new issue
Block a user