diff --git a/app/build/tasks/package-task.js b/app/build/tasks/package-task.js index f30c176f2..fc7e0837f 100644 --- a/app/build/tasks/package-task.js +++ b/app/build/tasks/package-task.js @@ -146,6 +146,7 @@ module.exports = grunt => { '**/vendor/**', 'examples/**', '**/src/tasks/**', + '**/static/all_licenses.html', '**/node_modules/spellchecker/**', '**/node_modules/windows-shortcuts/**', ].join(',') + diff --git a/app/src/browser/application.ts b/app/src/browser/application.ts index 34ca881a9..1ccf12325 100644 --- a/app/src/browser/application.ts +++ b/app/src/browser/application.ts @@ -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') {