feat: Add copyright info to 'About' menu option

Ignore generated forge config file
This commit is contained in:
Susmitha Girumala committed 2021-05-21 17:38:26 -04:00
1 parent 47c453e979
commit 5bb7d41903
2 files changed
+6 -2

No files matched your search

+3
View File
@@ -88,6 +88,9 @@ typings/
# Electron-Forge
out/
# Electron-Forge config
config/forge.config.js
# Ember build
ember-dist/
ember-test/
+3 -2
View File
@@ -16,11 +16,12 @@ const generateMenuTemplate = () => {
const appVersion = `Version: ${forgeConfig.RELEASE_VERSION}`;
const appCommit = `Commit: ${forgeConfig.RELEASE_COMMIT}`;
const cliVersion = version().formatted;
const copyright = forgeConfig.packagerConfig.appCopyright;
const dialogOpts = {
type: 'none',
message: `${appVersion}\n${appCommit}`,
detail: cliVersion,
message: app.getName(),
detail: `${appVersion}\n${appCommit}\n\n${cliVersion}\n\n${copyright}`,
};
dialog.showMessageBox(dialogOpts);
},