mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-05 21:02:39 +08:00
Fixed: Plugin manager doesn't detect wow64 #4168
This commit is contained in:
@@ -179,10 +179,10 @@ QString PluginManager::getPluginUrl(const QString& pluginName)
|
||||
|
||||
try {
|
||||
QString coreArch = m_CoreInterface.getArch();
|
||||
if (coreArch == "x86") {
|
||||
if (coreArch.startsWith("x86")) {
|
||||
archName = kWinProcessorArch32;
|
||||
}
|
||||
else if (coreArch == "x64") {
|
||||
else if (coreArch.startsWith("x64")) {
|
||||
archName = kWinProcessorArch64;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user