mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
Windows components: hide Vulkan RT and the IE8 update; honest captions for the waiting section (#502)
* Windows components: hide Vulkan RT, whose loader every Proton here ships vulkan-1.dll is in lib/wine/x86_64-windows and i386-windows of Proton Experimental (ARM64), GE-Proton and proton-cachyos alike, so the catalog's VulkanRT entry would only shadow it. It joins the list the page leaves out. * Windows components: the waiting section says what is really missing (a recording), not 'coming next' * Windows components: leave out the IE8 security update, which patches a browser no prefix has * Windows components: the waiting caption without an apostrophe the resource compiler rejects
This commit is contained in:
1 parent
9c052be865
commit
d639668e6b
3 files changed
+11
-6
No files matched your search
@@ -68,10 +68,10 @@ object WinComponents {
|
||||
/**
|
||||
* Catalog entries every Proton here already ships, which an install would only shadow: Wine
|
||||
* Gecko and Mono, the Chinese/Japanese/Korean fonts (Malgun, MS Gothic, YaHei, SimSun are in
|
||||
* share/fonts of Proton Experimental, GE-Proton and proton-cachyos alike) and Wine's own
|
||||
* PowerShell wrapper.
|
||||
* share/fonts of Proton Experimental, GE-Proton and proton-cachyos alike), Wine's own
|
||||
* PowerShell wrapper and the Vulkan loader (vulkan-1.dll, 32- and 64-bit, in all three).
|
||||
*/
|
||||
private val PROTON_PROVIDES = setOf("gecko", "mono", "cjkfonts", "powershell")
|
||||
private val PROTON_PROVIDES = setOf("gecko", "mono", "cjkfonts", "powershell", "VulkanRT")
|
||||
/** The keys the catalog nests under "environment" on a few .NET entries. */
|
||||
private val NESTED_KEYS = setOf("url", "file_name", "file_checksum", "file_size")
|
||||
|
||||
@@ -118,7 +118,10 @@ object WinComponents {
|
||||
(step.action == "install_msi" || listOf(step.str("file_name"), step.str("url").substringBefore('?'))
|
||||
.any { it.endsWith(".msi", ignoreCase = true) || it.endsWith(".exe", ignoreCase = true) })
|
||||
|
||||
private fun protonProvides(name: String): Boolean = name in PROTON_PROVIDES || name.startsWith("mono-")
|
||||
/** Catalog entries nothing here can use: the IE8 security update patches a browser no prefix has. */
|
||||
private val POINTLESS = setOf("ie8_kb2936068")
|
||||
|
||||
private fun protonProvides(name: String): Boolean = name in PROTON_PROVIDES || name in POINTLESS || name.startsWith("mono-")
|
||||
|
||||
fun hasSnapshot(c: Component): Boolean = c.snapshot.startsWith("https://github.com/") && c.snapshot.endsWith(".snapshot.json")
|
||||
|
||||
|
||||
Reference in new issue
Block a user