Generalize macOS arm64 platform name
This commit is contained in:
parent
9986d10947
commit
e22a08563e
4 changed files with 13 additions and 1 deletions
|
@ -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)';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue