Commit graph

51 commits

Author SHA1 Message Date
Ben Chatelain
011119812c
Merge branch 'master' into info-command 2018-01-27 10:11:42 -07:00
Ben Chatelain
ceed994319 🎁 Unwrap optional to get rid of string interpolation warning and force unwrap 2018-01-27 08:30:56 -07:00
Jake Spann
72a6d40df4 Updates
* Updated to Swift 4
* Turn on Whole Module Optimization
* Enable Additional Compiler Warnings
* A few fixes for Swift 4
2017-12-28 09:45:08 -06:00
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
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
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
634dbd87dd Initial port to Swift 3 2016-09-17 13:58:38 +01:00
Andrew Naylor
880d7d149b Fix code style 2016-09-15 11:28:56 +01:00
Andrew Naylor
225318901f Fix the upgrade-all behaviour 2016-09-15 10:13:24 +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
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