Commit graph

96 commits

Author SHA1 Message Date
Denis Lebedev
aefaeb5e05 Implements #26: Add info command 2016-10-22 00:04:19 +01:00
Denis Lebedev
4e71d2c9d4 Swiftify rest of the code 2016-10-21 22:59:33 +01:00
Denis Lebedev
516c009392 Swiftify code in NSURLSession+Synchronous 2016-10-16 18:08:40 +01:00
Denis Lebedev
2ee32843cf Remove unnessary switch labels in MASError 2016-10-16 18:08:08 +01:00
Andrew Naylor
34561076aa Preparing release 1.3.1 2016-09-25 23:01:23 +01:00
Andrew Naylor
962ec6a232 Remove unnecessary exit
Commandant takes care of it for us
2016-09-25 22:58:06 +01:00
Andrew Naylor
5ebbc876a4 Consolidate error type 2016-09-25 22:57:38 +01:00
Andrew Naylor
6600fe54a6 Convert some missing output to printInfo 2016-09-25 22:57:11 +01:00
Andrew Naylor
ce51cea8c6 Improve error messages 2016-09-25 22:13:23 +01:00
Andrew Naylor
94f3cea428 Improve upgrade routine
- Select upgrades directly
2016-09-25 21:24:09 +01:00
Andrew Naylor
be28fb5cbd Update to Commandant 0.11.1 2016-09-24 15:53:50 +01:00
Andrew Naylor
db5d72cde8 Fix nullability for list command 2016-09-17 20:43:17 +01:00
Andrew Naylor
5cc8340f09 Merge branch 'master' into feature/swift-3 2016-09-17 19:00:48 +01:00
Dmitry Rodionov
1859eaedf4 Always print the current version of an outdated app even if it's unknown 2016-09-18 00:14:20 +07:00
Dmitry Rodionov
ca72ee42b1 Display current bundle versions for outdated apps 2016-09-17 23:57:15 +07:00
Dmitry Rodionov
90fd55b3a8 Display bundle versions for installed apps 2016-09-17 23:49:34 +07:00
Andrew Naylor
bce0dd1975 Enable signin to optionally use the system dialog 2016-09-17 17:30:58 +01:00
Andrew Naylor
c0ebd2c696 Fix weird Swift compiler error 2016-09-17 16:33:50 +01:00
Andrew Naylor
0e03adb4c3 Fix optionality for mas list 2016-09-17 14:10:24 +01:00
Andrew Naylor
634dbd87dd Initial port to Swift 3 2016-09-17 13:58:38 +01:00
Andrew Naylor
3487d76886 Merge remote-tracking branch 'origin/master' 2016-09-17 11:29:01 +01:00
Andrew Naylor
135ee91175 Preparing release 1.3.0 2016-09-15 16:32:55 +01:00
Andrew Naylor
880d7d149b Fix code style 2016-09-15 11:28:56 +01:00
Andrew Naylor
997aa80bf9 Merge pull request #42 from argon/feature/install-multiple-apps-at-once
Install/Upgrade multiple apps
2016-09-15 10:19:08 +01:00
Andrew Naylor
225318901f Fix the upgrade-all behaviour 2016-09-15 10:13:24 +01:00
Andrew Naylor
e7750c4637 Fix downloading free apps 2016-09-15 01:40:55 +01:00
Andrew Naylor
50deb1c80a Add a --force flag for install 2016-09-14 23:04:53 +01:00
Andrew Naylor
b55df0f112 Show a warning when there are no upgrades found 2016-09-14 22:58:46 +01:00
Andrew Naylor
f33e2ea605 Allow upgrading specific apps 2016-09-14 22:55:04 +01:00
Andrew Naylor
1dd85d3e54 Only install apps which are not yet installed 2016-09-14 22:28:18 +01:00
Andrew Naylor
ae520c1ec5 Simplify multiple install logic 2016-09-14 22:07:56 +01:00
Andrew Naylor
aebfca64c0 Merge branch 'master' into feature/install-multiple-apps-at-once 2016-09-14 21:59:09 +01:00
Andrew Naylor
9c6ae2f311 Implement mas reset
Replicates the `Reset Application` functionality of the Mac App Store
Debug menu
2016-09-14 19:17:27 +01:00
Andrew Naylor
8af169a533 Preparing release 1.2.2 2016-09-14 09:17:42 +01:00
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
3a02d7b7df
Bump the version number 2016-04-17 01:46:14 +01:00
Andrew Naylor
abcc990601 Fix up the nullability annotations 2016-04-17 01:21:09 +01: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
30f9bc98ae Preparing release 1.1.3 2016-02-21 22:16:27 +00:00
Andrew Naylor
1a4af7a897 Ensure we don't blow up
If we're going to depend on the dispatch_group we should ensure we enter
before it could possibly be exited. In reality it should never happy as
`purchase.perform` does an XPC call but there's no harm in being
cautious.
2016-02-21 22:14:14 +00:00
Andrew Naylor
e11cb8c783 Return an error instead of exiting 2016-02-21 20:39:34 +00:00
Andrew Naylor
3bd11d4a23 Preparing release 1.1.2 2016-02-21 12:53:18 +00:00
Andrew Naylor
337d51dd37 Preparing release 1.1.1 2016-02-21 12:44:19 +00:00
Andrew Naylor
937b60d6ad Bump version number to 1.1.0 2016-02-14 01:42:27 +00:00
Andrew Naylor
0dac33510c Add a command to sign out of MAS 2016-02-14 01:34:49 +00:00
Andrew Naylor
490c73c6ac Use a guard instead to make it tidier 2016-02-14 01:34:32 +00:00