mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
Add ARM to GUI architectures, and fallback for unknowns
This commit is contained in:
parent
94f6e400ad
commit
bc37b69d17
@ -1230,12 +1230,13 @@ angular.module('syncthing.core')
|
||||
'linux': 'Linux',
|
||||
'windows': 'Windows',
|
||||
'solaris': 'Solaris',
|
||||
}[$scope.version.os];
|
||||
}[$scope.version.os] || $scope.version.os;
|
||||
|
||||
var arch ={
|
||||
'386': '32 bit',
|
||||
'amd64': '64 bit',
|
||||
}[$scope.version.arch];
|
||||
'arm': 'ARM',
|
||||
}[$scope.version.arch] || $scope.version.arch;
|
||||
|
||||
return $scope.version.version + ', ' + os + ' (' + arch + ')';
|
||||
};
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user