Antonio Scandurra
60841e574a
Make sure showing errors works correctly
2015-11-11 18:18:55 +01:00
Thomas Johansen
306729f20c
🐛 Use fat arrow to capture correct scope
...
Fixes #9186
2015-10-17 16:55:04 +02:00
Nathan Sobo
306ddf5491
Use ApplicationDelegate in CommandInstaller instead of bound confirm
2015-10-13 19:10:56 -06:00
Max Brunsfeld
eb68c9135e
Don't use atom global in default commands
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2015-10-07 15:24:55 -05:00
Max Brunsfeld
cd31f9506a
Install apm as apm-beta in beta version
2015-09-23 14:10:07 -07:00
Max Brunsfeld
a9531fc4dd
Install atom command as 'atom-beta' when using beta version
2015-09-23 14:10:07 -07:00
Ivan Zuzak
d79855993b
Assign error in catch block for clarity
2015-09-21 12:54:50 +02:00
Ivan Žužak
255d3a438a
Fix coffelint error causing Travis builds to fail
...
Currently, running coffeelint produces this error and causes Travis
builds to fail:
```
Running "coffeelint:src" (coffeelint) task
src/command-installer.coffee
✖ line 73 Line contains inconsistent indentation Expected 2 got 0
✖ 1 error
Warning: Task "coffeelint:src" failed. Use --force to continue.
Error: Task "coffeelint:src" failed.
```
See https://github.com/clutchski/coffeelint/issues/189 for more information
on this problem and suggested approach, and for a different place in Atom
where this approach is used see this:
ca39c106d6/src/config.coffee (L984)
2015-09-19 14:41:45 +02:00
Kevin Sawicki
2c5655b7d2
Remove unused requires
2015-04-15 15:55:31 -07:00
Kevin Sawicki
df28212bdf
Expect atom.sh and apm in app folder
2015-04-15 15:55:30 -07:00
Kevin Sawicki
5a8885aeed
Revert "Revert "Add asar support in Atom""
2015-04-15 15:55:30 -07:00
Machiste Quintana
5d2392ea67
👕 Fix new coffeelint errors
2015-04-06 23:59:54 -04:00
Kevin Sawicki
3de83f6860
Revert "Add asar support in Atom"
2015-04-03 11:03:43 -07:00
Cheng Zhao
c52058ef12
Always install commands from process.resourcesPath
2015-03-30 15:01:19 +08:00
Cheng Zhao
3ce12693e6
Install apm to process.resourcesPath
2015-03-30 15:01:19 +08:00
Kevin Sawicki
dbf384f719
mkdirp -> fs.makeTree
2015-02-12 17:16:07 -08:00
Kevin Sawicki
80f82e189e
Defer runas require until it is used
2015-02-12 16:18:27 -08:00
Kevin Sawicki
98d31a1d30
💄 Remove some lint
2014-10-02 17:54:23 -07:00
Nathan Sobo
4b746deb73
Move shell command installation entirely into CommandInstaller
2014-09-25 13:11:15 -06:00
Maximilian Schüßler
32e59ce238
Cleanup code according to coffeelint
2014-08-14 19:41:49 +02:00
probablycorey
760d8c60ad
Don't try and install cli commands if they are already symlinked.
...
Closes #1548
2014-02-14 17:43:54 -08:00
probablycorey
bec5c9c9c9
Remove unnecessary chmod command
2014-02-14 17:43:54 -08:00
probablycorey
c7bd1f0a87
Use string because it is easier to read
2014-02-13 10:03:44 -08:00
probablycorey
763c5053ad
Shell commands installed on startup don't ask for admin privleges
2014-02-13 10:00:18 -08:00
probablycorey
a428b03db5
Combine all command creation methods
2014-02-13 09:53:55 -08:00
probablycorey
1f47e7ae64
Remove check for /usr/local/bin
2014-02-13 08:40:48 -08:00
Cheng Zhao
a78dff15c4
Use "error?" to check error.
2014-02-13 21:42:10 +08:00
Cheng Zhao
def39f94df
Use runas to do the install when got EACESS error.
2014-02-13 20:47:52 +08:00
probablycorey
d2e4c61e0b
Make cli installation work with install-cli script
2014-01-22 15:56:05 -08:00
probablycorey
9169e9e227
Verify platform inside command installer
2014-01-22 14:54:01 -08:00
probablycorey
19e0854036
Log warning if commands fail to install
2014-01-22 14:53:38 -08:00
probablycorey
8973a6d777
Display dialog error when commands can't be installed
2014-01-22 13:51:51 -08:00
probablycorey
eb28c15f69
Simplify installation callbacks
2014-01-22 13:35:07 -08:00
probablycorey
5a70276201
Fix specs
2014-01-21 18:09:53 -08:00
probablycorey
1bd4d51879
Install atom and apm cli commands to /usr/local/bin
2014-01-21 18:00:59 -08:00
Kevin Sawicki
ed8800d182
Install apm to apm/ from vendor/apm
2013-12-17 16:53:31 -08:00
Kevin Sawicki
8cf2cdb2a9
Add script/install-cli to install atom and apm
2013-12-05 11:02:37 -08:00
Kevin Sawicki
3320176a0a
Move atom/apm install helpers to CommandInstaller
2013-11-22 10:13:59 -08:00
Kevin Sawicki
83dcf79bcf
Use fs-plus
2013-11-01 08:46:02 -07:00
Kevin Sawicki
216a5e61fd
Update underscore-extensions requires
2013-10-15 13:50:16 -07:00
Kevin Sawicki
41fc4f7fe6
Use relative require paths in src/ files
2013-09-20 10:02:20 -07:00
Kevin Sawicki
2fee0f1083
💄 space separate array items
2013-08-20 14:20:16 -07:00
Kevin Sawicki
76332c76bd
Flatten src directory
...
* Move src/app to src/
* Move src/stdlib to src/
* Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00