mirror of
https://github.com/Omni-guides/Jackify.git
synced 2026-08-14 02:23:45 +02:00
Release v0.7 - Tools Hub, Engine Choice, NXM Link Handling, Native Component Install, NSF/CSF Support
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
"""Per-modlist Proton version requirements for ENB compatibility warnings."""
|
||||
|
||||
from typing import Optional
|
||||
|
||||
# Keys are lowercase modlist names (matched case-insensitively).
|
||||
# required: specific Proton build known to work
|
||||
# note: shown to the user alongside the requirement
|
||||
MODLIST_PROTON_REQUIREMENTS: dict[str, dict[str, str]] = {
|
||||
"lorerim": {
|
||||
"required": "GE-Proton10-34",
|
||||
"note": "Proton-CachyOS 11 and Valve Proton are known to not work with this list.",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
def get_proton_requirement(modlist_name: str) -> Optional[dict[str, str]]:
|
||||
if not modlist_name:
|
||||
return None
|
||||
return MODLIST_PROTON_REQUIREMENTS.get(modlist_name.strip().lower())
|
||||
Reference in New Issue
Block a user