mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Fix architecture detection for macOS Intel CPUs
This commit is contained in:
@@ -66,7 +66,7 @@ public class MacTorPluginFactory extends TorPluginFactory {
|
|||||||
if (LOG.isLoggable(INFO)) {
|
if (LOG.isLoggable(INFO)) {
|
||||||
LOG.info("System's os.arch is " + arch);
|
LOG.info("System's os.arch is " + arch);
|
||||||
}
|
}
|
||||||
if (arch.equals("amd64")) return "x86_64";
|
if (arch.equals("x86_64")) return "x86_64";
|
||||||
else if (arch.equals("aarch64")) return "aarch64";
|
else if (arch.equals("aarch64")) return "aarch64";
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user