Commit graph

84 commits

Author SHA1 Message Date
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
Andrew Naylor
d80ad6e866 Add sign in functionality 2016-02-14 01:34:27 +00:00
Andrew Naylor
d9fe427031 Bump version number to 1.0.2 2015-12-31 01:54:42 +00:00
Andrew Naylor
50c47b1477 Fix the options parsing for the Install command
Oops.
2015-12-31 01:54:04 +00:00
Andrew Naylor
ed2f7b80b3 Bump version to 1.0.1 2015-12-31 01:41:49 +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
3e8f48ad32 Ensure the clearLine method works properly 2015-09-21 00:47:16 +01: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
6042bccbe6 Use the built-in method for including Info.plist 2015-09-20 23:23:47 +01:00