2017-05-26 00:00:05 +08:00
|
|
|
--- a/src/main-process/atom-application.coffee
|
|
|
|
+++ b/src/main-process/atom-application.coffee
|
2017-12-19 17:30:13 +08:00
|
|
|
@@ -272,7 +272,7 @@
|
2017-05-26 00:00:05 +08:00
|
|
|
@openPathOnEvent('application:open-your-keymap', 'atom://.atom/keymap')
|
|
|
|
@openPathOnEvent('application:open-your-snippets', 'atom://.atom/snippets')
|
|
|
|
@openPathOnEvent('application:open-your-stylesheet', 'atom://.atom/stylesheet')
|
|
|
|
- @openPathOnEvent('application:open-license', path.join(process.resourcesPath, 'LICENSE.md'))
|
|
|
|
+ @openPathOnEvent('application:open-license', '/usr/share/licenses/atom/LICENSE.md')
|
|
|
|
|
|
|
|
@disposable.add ipcHelpers.on app, 'before-quit', (event) =>
|
|
|
|
unless @quitting
|
|
|
|
--- a/src/workspace.js
|
|
|
|
+++ b/src/workspace.js
|
|
|
|
@@ -1046,7 +1046,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')
|
|
|
|
}
|
|
|
|
|
2017-12-19 17:30:13 +08:00
|
|
|
// Synchronously open the given URI in the active pane. **Only use this method
|