mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-06 12:34:46 -04:00
Add checks for arm OS arch
This commit is contained in:
parent
fad23c4f54
commit
eb45dce6af
1 changed files with 2 additions and 1 deletions
|
@ -96,8 +96,9 @@ public class OsData {
|
|||
return OsType.Linux64;
|
||||
}
|
||||
|
||||
// armv8 is 64 bit, armv7l is 32 bit
|
||||
if (unameOutput.contains("arm"))
|
||||
return unameOutput.contains("64") ? OsType.Linux64 : OsType.Linux32;
|
||||
return unameOutput.contains("64") || unameOutput.contains("v8") ? OsType.Linux64 : OsType.Linux32;
|
||||
|
||||
throw new RuntimeException("Could not understand uname output, not sure what bitness");
|
||||
} catch (IOException e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue