mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 13:58:49 +00:00
Issue #2503 - Part 2: Add CPU IS support flags to UpdateUtils URL substitutions.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user