blob: 179bf53355ec75510a0137c9461102d2049e0076 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/src/main-process/atom-application.js
+++ b/src/main-process/atom-application.js
@@ -697,7 +697,7 @@
);
this.openPathOnEvent(
'application:open-license',
- path.join(process.resourcesPath, 'LICENSE.md')
+ '/usr/share/licenses/atom/LICENSE.md'
);
this.configFile.onDidChange(settings => {
--- a/src/workspace.js
+++ b/src/workspace.js
@@ -1301,7 +1301,7 @@
// Open Atom's license in the active pane.
openLicense() {
- return this.open(path.join(process.resourcesPath, 'LICENSE.md'));
+ return this.open('/usr/share/licenses/atom/LICENSE.md');
}
// Synchronously open the given URI in the active pane. **Only use this method
|