Generalize macOS arm64 platform name

This commit is contained in:
mooons 2022-07-19 07:26:41 -07:00
parent 9986d10947
commit e22a08563e
4 changed files with 13 additions and 1 deletions

View file

@ -24,7 +24,7 @@ contextBridge.exposeInMainWorld('SignalContext', {
let platform = '';
if (process.platform === 'darwin') {
if (process.arch === 'arm64') {
platform = ' (M1)';
platform = ` (${SignalContext.i18n('appleSilicon')})`;
} else {
platform = ' (Intel)';
}