mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
Windows components: hide the CJK fonts and PowerShell, which every Proton here ships (#496)
Proton Experimental (ARM64), GE-Proton and proton-cachyos all carry Malgun, MS Gothic, YaHei and SimSun in share/fonts and Wine's PowerShell wrapper, so the catalog's cjkfonts and powershell entries would only shadow what is already there. They join gecko and mono in the list the page leaves out.
This commit is contained in:
1 parent
d15ffa3df2
commit
32b43694f4
2 files changed
+9
-2
No files matched your search
@@ -65,8 +65,13 @@ object WinComponents {
|
||||
private const val MSI_INSTALL = "/usr/local/bin/droiddeck-msi-install"
|
||||
/** Where a downloaded package or installer waits for the installer, inside the runtime so it can read it. */
|
||||
private const val MSI_CACHE = "$STORE/.packages"
|
||||
/** Catalog entries Proton already provides newer copies of, which an install would only shadow. */
|
||||
private val PROTON_PROVIDES = setOf("gecko", "mono")
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
private val PROTON_PROVIDES = setOf("gecko", "mono", "cjkfonts", "powershell")
|
||||
/** The keys the catalog nests under "environment" on a few .NET entries. */
|
||||
private val NESTED_KEYS = setOf("url", "file_name", "file_checksum", "file_size")
|
||||
|
||||
|
||||
Reference in new issue
Block a user