|
1 | | ---- atom-application.coffee.orig 2015-07-20 13:25:42.000000000 +0100 |
2 | | -+++ atom-application.coffee 2015-07-20 13:37:47.000000000 +0100 |
3 | | -@@ -19,9 +19,9 @@ |
| 1 | +--- atom-application.coffee.orig 2015-09-22 05:48:42.000000000 -0700 |
| 2 | ++++ atom-application.coffee 2015-09-23 06:21:04.000000000 -0700 |
| 3 | +@@ -21,9 +21,9 @@ |
4 | 4 |
|
5 | 5 | DefaultSocketPath = |
6 | 6 | if process.platform is 'win32' |
|
12 | 12 |
|
13 | 13 | # The application's singleton class. |
14 | 14 | # |
15 | | -@@ -73,9 +73,10 @@ |
16 | | - @pidsToOpenWindows = {} |
17 | | - @pathsToOpen ?= [] |
18 | | - @windows = [] |
19 | | -+ @particleDevVersion = '#{particleDevVersion}' |
20 | | - |
21 | | -- @autoUpdateManager = new AutoUpdateManager(@version, options.test) |
22 | | -- @applicationMenu = new ApplicationMenu(@version, @autoUpdateManager) |
23 | | -+ @autoUpdateManager = new AutoUpdateManager(@particleDevVersion, options.test) |
24 | | -+ @applicationMenu = new ApplicationMenu(@particleDevVersion, @autoUpdateManager) |
25 | | - @atomProtocolHandler = new AtomProtocolHandler(@resourcePath, @safeMode) |
26 | | - |
27 | | - @listenForArgumentsFromNewProcess() |
28 | | -@@ -177,13 +178,13 @@ |
| 15 | +@@ -175,13 +175,13 @@ |
29 | 16 | atomWindow ?= @focusedWindow() |
30 | 17 | atomWindow?.browserWindow.inspectElement(x, y) |
31 | 18 |
|
32 | 19 | - @on 'application:open-documentation', -> shell.openExternal('https://atom.io/docs/latest/?app') |
33 | 20 | - @on 'application:open-discussions', -> shell.openExternal('https://discuss.atom.io') |
34 | | -+ @on 'application:open-documentation', -> shell.openExternal('http://docs.particle.io/photon/dev/') |
| 21 | ++ @on 'application:open-documentation', -> shell.openExternal('https://docs.particle.io/guide/tools-and-features/dev/') |
35 | 22 | + @on 'application:open-discussions', -> shell.openExternal('https://community.particle.io/') |
36 | 23 | @on 'application:open-roadmap', -> shell.openExternal('https://atom.io/roadmap?app') |
37 | 24 | @on 'application:open-faq', -> shell.openExternal('https://atom.io/faq') |
38 | 25 | - @on 'application:open-terms-of-use', -> shell.openExternal('https://atom.io/terms') |
39 | 26 | - @on 'application:report-issue', -> shell.openExternal('https://github.com/atom/atom/blob/master/CONTRIBUTING.md#submitting-issues') |
40 | 27 | - @on 'application:search-issues', -> shell.openExternal('https://github.com/issues?q=+is%3Aissue+user%3Aatom') |
41 | 28 | + @on 'application:open-terms-of-use', -> shell.openExternal('https://www.particle.io/tos') |
42 | | -+ @on 'application:report-issue', -> shell.openExternal('https://github.com/spark/spark-dev/issues/new') |
43 | | -+ @on 'application:search-issues', -> shell.openExternal('https://github.com/spark/spark-dev/issues') |
| 29 | ++ @on 'application:report-issue', -> shell.openExternal('https://github.com/spark/particle-dev-app/issues/new') |
| 30 | ++ @on 'application:search-issues', -> shell.openExternal('https://github.com/spark/particle-dev-app/issues') |
44 | 31 |
|
45 | 32 | @on 'application:install-update', => |
46 | 33 | @quitting = true |
| 34 | +@@ -202,11 +202,11 @@ |
| 35 | + |
| 36 | + @openPathOnEvent('application:about', 'atom://about') |
| 37 | + @openPathOnEvent('application:show-settings', 'atom://config') |
| 38 | +- @openPathOnEvent('application:open-your-config', 'atom://.atom/config') |
| 39 | +- @openPathOnEvent('application:open-your-init-script', 'atom://.atom/init-script') |
| 40 | +- @openPathOnEvent('application:open-your-keymap', 'atom://.atom/keymap') |
| 41 | +- @openPathOnEvent('application:open-your-snippets', 'atom://.atom/snippets') |
| 42 | +- @openPathOnEvent('application:open-your-stylesheet', 'atom://.atom/stylesheet') |
| 43 | ++ @openPathOnEvent('application:open-your-config', 'atom://.particledev/config') |
| 44 | ++ @openPathOnEvent('application:open-your-init-script', 'atom://.particledev/init-script') |
| 45 | ++ @openPathOnEvent('application:open-your-keymap', 'atom://.particledev/keymap') |
| 46 | ++ @openPathOnEvent('application:open-your-snippets', 'atom://.particledev/snippets') |
| 47 | ++ @openPathOnEvent('application:open-your-stylesheet', 'atom://.particledev/stylesheet') |
| 48 | + @openPathOnEvent('application:open-license', path.join(process.resourcesPath, 'LICENSE.md')) |
| 49 | + |
| 50 | + app.on 'before-quit', => |
0 commit comments