Brand Refresh
This commit is contained in:
parent
b88100d32a
commit
b97e67121f
181 changed files with 828 additions and 131 deletions
|
@ -12,21 +12,12 @@ const { AboutWindowProps } = window.Signal;
|
|||
|
||||
strictAssert(AboutWindowProps, 'window values not provided');
|
||||
|
||||
let platform = '';
|
||||
if (AboutWindowProps.platform === 'darwin') {
|
||||
if (AboutWindowProps.arch === 'arm64') {
|
||||
platform = ` (${i18n('icu:appleSilicon')})`;
|
||||
} else {
|
||||
platform = ' (Intel)';
|
||||
}
|
||||
}
|
||||
|
||||
const environmentText = `${AboutWindowProps.environmentText}${platform}`;
|
||||
|
||||
ReactDOM.render(
|
||||
<About
|
||||
closeAbout={() => window.SignalContext.executeMenuRole('close')}
|
||||
environment={environmentText}
|
||||
appEnv={AboutWindowProps.appEnv}
|
||||
platform={AboutWindowProps.platform}
|
||||
arch={AboutWindowProps.arch}
|
||||
i18n={i18n}
|
||||
version={window.SignalContext.getVersion()}
|
||||
/>,
|
||||
|
|
|
@ -14,8 +14,8 @@ if (config.appInstance) {
|
|||
|
||||
const Signal = {
|
||||
AboutWindowProps: {
|
||||
appEnv: environments.join(' - '),
|
||||
arch: process.arch,
|
||||
environmentText: environments.join(' - '),
|
||||
platform: process.platform,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue