mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 09:18:42 +09:00
GMP: revert GMPUtils.jsm back to state of rev 4a010b9495
This should fix GMP DLLs loading.
This commit is contained in:
parent
7747508390
commit
ed4e67920f
1 changed files with 2 additions and 2 deletions
|
|
@ -79,6 +79,7 @@ this.GMPUtils = {
|
|||
// The Widevine plugin is available for Windows versions Vista and later,
|
||||
// Mac OSX, and Linux.
|
||||
return AppConstants.isPlatformAndVersionAtLeast("win", "6") ||
|
||||
AppConstants.platform == "macosx" ||
|
||||
AppConstants.platform == "linux";
|
||||
}
|
||||
|
||||
|
|
@ -87,10 +88,9 @@ this.GMPUtils = {
|
|||
|
||||
_is32bitModeMacOS: function() {
|
||||
if (AppConstants.platform != "macosx") {
|
||||
return Services.appinfo.XPCOMABI.split("-")[0] == "x86";
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return Services.appinfo.XPCOMABI.split("-")[0] == "x86";
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue