22 Commits

Author SHA1 Message Date
Cheng Zhao
9c7ce22abe Unzipping atom-shell.zip on Windows with node-unzip. 2013-10-30 18:02:43 +08:00
Matt Colyer
b02d906cfb Rebuild modules on Windows in grunt update-atom-shell 2013-10-25 15:06:42 -07:00
Cheng Zhao
459309aa78 Do not use "/tmp" in scripts. 2013-10-21 21:42:55 +08:00
Cheng Zhao
c614ec6beb Fix "Missing or invalid User Agent string." error. 2013-10-10 15:18:52 +08:00
Matt Colyer
15a62eab63 Parse multipart response from AWS S3 2013-10-04 09:24:19 -07:00
probablycorey
6fb400926f Allow task to ask for GitHub API token 2013-09-27 11:41:37 -07:00
probablycorey
2f511ec412 Give error more descriptive title 2013-09-27 10:47:26 -07:00
probablycorey
2870edaf06 Output error message if GitHub api fails 2013-09-27 10:47:02 -07:00
Cheng Zhao
12ffc222bb Uses GitHub Releases API to download atom-shell. 2013-09-27 19:15:56 +08:00
Cheng Zhao
e955a0d282 Enable to use http proxy when updating atom-shell.
Used for 🐢 networking :/
2013-09-17 10:07:19 +08:00
Kevin Sawicki
e10f06e48f Spawn unzip command directly
adm-zip does not support retaining the executable flag and node-unzip
fails for files the size of atom-shell.zip
2013-09-09 18:40:23 +01:00
Kevin Sawicki
a669950239 Lint tasks folder 2013-09-09 18:40:22 +01:00
Kevin Sawicki
fe4f9471e6 Remove cache directory before downloading
This ensures any previously failed downloads/extractions are cleaned
up before a new atom-shell distribution is downloaded and extracted.
2013-09-09 18:40:22 +01:00
Kevin Sawicki
a7eaac3984 Invoke callback after zip file is removed 2013-09-09 18:40:22 +01:00
Kevin Sawicki
325438c532 Look for version file to determine if cached
This guards against the directory being created but extraction
previously failing.
2013-09-09 18:40:22 +01:00
Kevin Sawicki
c24eec8205 💄 2013-09-09 18:40:22 +01:00
Kevin Sawicki
d4f06a096e Invoke callback when no work to be done 2013-09-09 18:40:22 +01:00
Kevin Sawicki
23f30dbbfd Remove unused read stream 2013-09-09 18:40:22 +01:00
Kevin Sawicki
5b73ef20eb Catch any errors thrown by adm-zip 2013-09-09 18:40:22 +01:00
Kevin Sawicki
0e3caafe4d Update atom-shell to version in package.json
This changes the behavior to always install the atom-shell version
in the package.json instead of the latest.

This also ports over the script/update-atom-shell script to a Grunt task.
2013-09-09 18:40:22 +01:00
Kevin Sawicki
d1f372e439 Rebuild native modules when atom-shell is upgraded
Spawn an apm rebuild when the atom shell version changes
after running the update-atom-shell script.

Closes #618
2013-07-12 14:48:10 -07:00
Kevin Sawicki
bd14aeee17 Move Grunt tasks to tasks directory 2013-06-27 09:07:33 -07:00