mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Issue #2503 - Part 2: Add CPU IS support flags to UpdateUtils URL substitutions.
This commit is contained in:
parent
35d7a1fe5a
commit
a211c7d7f3
1 changed files with 4 additions and 1 deletions
|
|
@ -81,7 +81,10 @@ this.UpdateUtils = {
|
|||
[/%PLATFORM_VERSION%/g, Services.appinfo.platformVersion],
|
||||
[/%DISTRIBUTION%/g, distribution],
|
||||
[/%DISTRIBUTION_VERSION%/g, distributionVersion],
|
||||
[/%LOCALE%/g, this.Locale]
|
||||
[/%LOCALE%/g, this.Locale],
|
||||
[/%CPU_SSE2%/g, navigator.cpuHasSSE2],
|
||||
[/%CPU_AVX%/g, navigator.cpuHasAVX],
|
||||
[/%CPU_AVX2%/g, navigator.cpuHasAVX2]
|
||||
];
|
||||
|
||||
substs.forEach(([_subst, _value]) => aUpdateURL = aUpdateURL.replace(_subst, _value));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue