mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-30 13:28:51 -06:00
refactor: one reader of the installer pin
The launcher builders read install.py's SHA-256 through pins.installer_sha256 and the value install.sh pins through pins.PIN, which now sits beside the pattern pin_installer writes with. build_port kept a third copy of that pattern.
This commit is contained in:
1 parent
b9c91a897d
commit
27bff61560
4 files changed
+12
-13
No files matched your search
@@ -33,7 +33,7 @@ SOURCES: dict[str, tuple[str, re.Pattern[str]]] = {
|
||||
SH_NAME: ("install.sh", re.compile(r'^(DEFAULT_INSTALL_URL=")[^"]*(")', re.M)),
|
||||
PS1_NAME: ("install.ps1", re.compile(r'^(\s*\$defaultInstallUrl = ")[^"]*(")', re.M)),
|
||||
}
|
||||
# The line each bootstrap says a refused installer with, and the pin.
|
||||
# The line each bootstrap says a refused installer with.
|
||||
ADVICE: dict[str, re.Pattern[str]] = {
|
||||
SH_NAME: re.compile(r'^(MISMATCH_ADVICE=")[^"]*(")', re.M),
|
||||
PS1_NAME: re.compile(r'^(\s*\$mismatchAdvice = ")[^"]*(")', re.M),
|
||||
|
||||
Reference in new issue
Block a user