mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-04 20:13:11 +08:00
Fix display of the application license file
This commit is contained in:
parent
ed0270c17e
commit
a7ee6acbc5
2 changed files with 2 additions and 1 deletions
|
@ -146,6 +146,7 @@ module.exports = grunt => {
|
|||
'**/vendor/**',
|
||||
'examples/**',
|
||||
'**/src/tasks/**',
|
||||
'**/static/all_licenses.html',
|
||||
'**/node_modules/spellchecker/**',
|
||||
'**/node_modules/windows-shortcuts/**',
|
||||
].join(',') +
|
||||
|
|
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue