mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-31 11:37:30 +09:00
[WebExAM] Use extensions.minCompatibleAppVersion instead of extensions.minCompatiblePlatformVersion for update.json
This commit is contained in:
parent
fdf7ba29b4
commit
be637b7eef
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ const XMLURI_PARSE_ERROR = "http://www.mozilla.org/newlayout/xml/parsererror.
|
||||||
const PREF_UPDATE_REQUIREBUILTINCERTS = "extensions.update.requireBuiltInCerts";
|
const PREF_UPDATE_REQUIREBUILTINCERTS = "extensions.update.requireBuiltInCerts";
|
||||||
|
|
||||||
#ifdef MOZ_PHOENIX
|
#ifdef MOZ_PHOENIX
|
||||||
const PREF_EM_MIN_COMPAT_PLATFORM_VERSION = "extensions.minCompatiblePlatformVersion";
|
const PREF_EM_MIN_COMPAT_APP_VERSION = "extensions.minCompatibleAppVersion";
|
||||||
const FIREFOX_ID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
const FIREFOX_ID = "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||||
const FIREFOX_APPCOMPATVERSION = "56.9"
|
const FIREFOX_APPCOMPATVERSION = "56.9"
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -524,7 +524,7 @@ function parseJSONManifest(aId, aUpdateKey, aRequest, aManifestData) {
|
||||||
let appEntry = {
|
let appEntry = {
|
||||||
id: FIREFOX_ID,
|
id: FIREFOX_ID,
|
||||||
minVersion: getProperty(app, "strict_min_version", "string",
|
minVersion: getProperty(app, "strict_min_version", "string",
|
||||||
Services.prefs.getCharPref(PREF_EM_MIN_COMPAT_PLATFORM_VERSION)),
|
Services.prefs.getCharPref(PREF_EM_MIN_COMPAT_APP_VERSION)),
|
||||||
maxVersion: FIREFOX_APPCOMPATVERSION,
|
maxVersion: FIREFOX_APPCOMPATVERSION,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue