mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-25 20:26:38 +00:00
GH-423: Do not copy copyright from about dialog
Closes arduino/arduino-pro-ide#423 Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
parent
9180f4e378
commit
1c03d12165
@ -38,7 +38,7 @@ export class About extends Contribution {
|
|||||||
Date: ${buildDate ? buildDate : 'dev build'}${buildDate && showAll ? ` (${this.ago(buildDate)})` : ''}
|
Date: ${buildDate ? buildDate : 'dev build'}${buildDate && showAll ? ` (${this.ago(buildDate)})` : ''}
|
||||||
CLI Version: ${version}${cliStatus ? ` ${cliStatus}` : ''} [${commit}]
|
CLI Version: ${version}${cliStatus ? ` ${cliStatus}` : ''} [${commit}]
|
||||||
|
|
||||||
Copyright © ${new Date().getFullYear()} Arduino SA
|
${showAll ? `Copyright © ${new Date().getFullYear()} Arduino SA` : ''}
|
||||||
`;
|
`;
|
||||||
const ok = 'OK';
|
const ok = 'OK';
|
||||||
const copy = 'Copy';
|
const copy = 'Copy';
|
||||||
@ -55,7 +55,7 @@ Copyright © ${new Date().getFullYear()} Arduino SA
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (buttons[response] === copy) {
|
if (buttons[response] === copy) {
|
||||||
await this.clipboardService.writeText(detail(false));
|
await this.clipboardService.writeText(detail(false).trim());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user