Commit graph

27 commits

Author SHA1 Message Date
Dmitry Rodionov
642e804e28 Don't stop installing applications after a failure 2016-09-06 21:28:24 +07:00
Dmitry Rodionov
319300e7a1 Fix #28: install multiple apps at once
The fix was pretty straightforward except for one interesting caveat:
since we add a new download observer every time we start downloading a
new purchase, we also have to remove it when the download finishes.
Otherwise there will be multiple observers reporting download progress
for the same purchase (i.e. user will see duplicate output)
2016-09-06 20:37:12 +07:00
Undo1
f4bbe0e24e Use password prompt instead of passing directly, fixes #14 2016-06-08 14:23:55 -06:00
Andrew Naylor
1e1a80aa58 Guard against nil for allProducts
This usually happens when `mas` is called outside of the user namespace
2016-04-17 01:18:14 +01:00
Michael Schneider
587d84a671 Address comments
- Url encode appName
- Add attribution for synchronous NSURLSession code
- Run script/sort
- Add ResultKeys struct for json keys
2016-04-15 06:53:58 -07:00
Michael Schneider
e27b963d22 Add ability to search apps from the MAS via name 2016-04-14 09:21:25 -07:00
Andrew Naylor
e11cb8c783 Return an error instead of exiting 2016-02-21 20:39:34 +00:00
Andrew Naylor
0dac33510c Add a command to sign out of MAS 2016-02-14 01:34:49 +00:00
Andrew Naylor
d80ad6e866 Add sign in functionality 2016-02-14 01:34:27 +00:00
Andrew Naylor
50c47b1477 Fix the options parsing for the Install command
Oops.
2015-12-31 01:54:04 +00:00
Andrew Naylor
8c0f3e0386 Upgrade to latest Commandant 2015-12-30 22:00:32 +00:00
Andrew Naylor
c3519ddd69 Add upgrade command to install pending updates 2015-12-30 22:00:32 +00:00
Andrew Naylor
3ccfd93f80 Remove the need for casting 2015-09-21 00:00:05 +01:00
Andrew Naylor
502f8d1523 Include the new version number in outdated 2015-09-20 23:46:20 +01:00
Andrew Naylor
4f06f18a57 Remove the unnecessary actionParams 2015-09-20 23:42:00 +01:00
Andrew Naylor
43ba372332 Improve description for version command 2015-09-20 23:33:55 +01:00
Andrew Naylor
7828137a14 Add a Version command to the utility 2015-09-20 11:40:55 +01:00
Andrew Naylor
4bbd964c2e Update to Swift 2 2015-09-14 09:51:09 +01:00
Andrew Naylor
a0bf8529fb Rename the commands to be more like homebrew 2015-09-13 23:14:56 +01:00
Andrew Naylor
41ceab2c3a Begin to refactor the download process 2015-08-25 02:45:54 +08:00
Andrew Naylor
83291f2fc6 Guard against not being signed in with an error 2015-08-25 02:45:27 +08:00
Andrew Naylor
b3c64f7514 List updates in a simpler form 2015-08-25 02:43:15 +08:00
Andrew Naylor
6481d82029 Suppress unnecessary output during install 2015-08-22 19:29:56 +08:00
Andrew Naylor
fd658835e9 Use a loop instead of Map for printing 2015-08-22 19:29:22 +08:00
Andrew Naylor
4ebd0ebb17 Collect together the AppStore interfaces 2015-08-22 02:48:00 +08:00
Andrew Naylor
95f42de3d9 Move the function to where it's used 2015-08-22 02:22:06 +08:00
Andrew Naylor
76660f9635 Break functionality out into separate files 2015-08-21 21:02:36 +08:00