Fix display of the application license file

This commit is contained in:
Ben Gotow 2019-10-22 00:12:31 -05:00
parent ed0270c17e
commit a7ee6acbc5
2 changed files with 2 additions and 1 deletions

View file

@ -146,6 +146,7 @@ module.exports = grunt => {
'**/vendor/**',
'examples/**',
'**/src/tasks/**',
'**/static/all_licenses.html',
'**/node_modules/spellchecker/**',
'**/node_modules/windows-shortcuts/**',
].join(',') +

View file

@ -446,7 +446,7 @@ export default class Application extends EventEmitter {
});
this.on('application:view-license', () => {
shell.openExternal(`file://${path.join(this.resourcePath, 'static', 'ALL_LICENSES.html')}`);
shell.openItem(path.join(this.resourcePath, 'static', 'all_licenses.html'));
});
if (process.platform === 'darwin') {