mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
parent
470a6e4401
commit
13fcc4a046
949 changed files with 95662 additions and 444 deletions
|
|
@ -47,6 +47,13 @@ PluginProcessParent::Launch(mozilla::UniquePtr<LaunchCompleteTask> aLaunchComple
|
|||
uint32_t containerArchitectures = GetSupportedArchitecturesForProcessType(GeckoProcessType_Plugin);
|
||||
|
||||
uint32_t pluginLibArchitectures = currentArchitecture;
|
||||
#ifdef XP_MACOSX
|
||||
nsresult rv = GetArchitecturesForBinary(mPluginFilePath.c_str(), &pluginLibArchitectures);
|
||||
if (NS_FAILED(rv)) {
|
||||
// If the call failed just assume that we want the current architecture.
|
||||
pluginLibArchitectures = currentArchitecture;
|
||||
}
|
||||
#endif
|
||||
|
||||
ProcessArchitecture selectedArchitecture = currentArchitecture;
|
||||
if (!(pluginLibArchitectures & containerArchitectures & currentArchitecture)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue