blob: 4580353b9126d60b700a631151e08a45000a96de (
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
@@ -416,7 +416,7 @@
this.openPathOnEvent('application:open-your-keymap', 'atom://.atom/keymap')
this.openPathOnEvent('application:open-your-snippets', 'atom://.atom/snippets')
this.openPathOnEvent('application:open-your-stylesheet', 'atom://.atom/stylesheet')
- this.openPathOnEvent('application:open-license', path.join(process.resourcesPath, 'LICENSE.md'))
+ this.openPathOnEvent('application:open-license', '/usr/share/licenses/atom/LICENSE.md')
this.configFile.onDidChange(settings => {
for (let window of this.getAllWindows()) {
--- a/src/workspace.js
+++ b/src/workspace.js
@@ -1132,7 +1132,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
|