22 Commits
Author SHA1 Message Date
Andrew Udvare a2f3dbac3c Fix Swift error 2022-08-06 19:33:25 -04:00
Gregorio Litenstein f4010abe44 Re-indent 2019-06-17 00:51:05 -04:00
Gregorio Litenstein 3a09834f5a Better error management + refactoring
- Implement a function to determine at runtime whether we’re running in CLI or as a prefpane.
- More verbose errors in both cases.
- Try to account for ThisAppDoesNothing appearing unknown to LaunchServices by manually trying to launch it from one of several locations it might be found. (Should fix #9 and #12)
- Fold all errors and success messages into a single displayAlert() function used both in CLI and GUI versions.
2019-06-17 00:51:04 -04:00
Gregorio Litenstein 224d24e260 LSWrappers: Refactoring and minor optimization.
- Account for some additional errors (as well as no error)
- Sort error cases (sort of) by their value
- Add some extra info to LSerror.print
- Minor code clean-up
2019-06-17 00:46:23 -04:00
Gregorio Litenstein 28f21667d2 Updated the SynchronizedArray code. 2019-06-17 00:46:23 -04:00
Gregorio Litenstein dcafe50852 Text Fixes.
- Replaced URL with URI where appropriate.
- Fixed some typos
- Updated README (and corrected the attribution of the SynchronizedArray code)
2019-06-17 00:46:23 -04:00
Gregorio Litenstein 122a639bea Update to Swift 5 2019-03-30 11:48:05 -03:00
Gregorio Litenstein 5e3c0eeae6 Change couple of things deprecated in Swift 4.1 2018-04-15 12:20:38 -07:00
Gregorio Litenstein 8e66dde290 Update to Swift 4 2017-09-26 22:51:25 -03:00
Gregorio Litenstein 69540855cc Minor refactoring, add support functions for GUI. 2017-05-01 00:14:50 -03:00
Gregorio Litenstein 0cebe63881 Typo. 2017-03-28 21:27:47 -03:00
Gregorio Litenstein 9d8aeabacb Replace “None” with dummy app
Add switch to toggle between returning bundle-ids and application paths.
2017-03-28 21:27:42 -03:00
Gregorio Litenstein c08f4fc257 Account for Finder’s distinct bundle type. 2017-03-20 18:59:51 -03:00
Gregorio Litenstein 95a22d7dcb Output UTIs/URLs handled as nested Dictionary.
Also, make sure to list each item only once.
2017-03-16 23:29:17 -03:00
Gregorio Litenstein 02747843b7 Avoid implicitly unwrapping BundleID 2017-03-16 23:26:45 -03:00
Gregorio Litenstein c7c8b3a27e Clean-up and corrected typo. 2017-03-16 23:26:18 -03:00
Gregorio Litenstein 92c3542843 Move sorting of UTIs out of the back-end. 2017-03-16 23:25:39 -03:00
Gregorio Litenstein fc11fb955b Make Launch Services Wrappers static. 2017-03-16 23:24:34 -03:00
Gregorio Litenstein 3f2f1dc02c Properly analyze apps that use file extensions. 2017-03-02 15:28:53 -03:00
Gregorio Litenstein 10fe50d6a3 Schemes/Handlers: Return a proper Dictionary. 2017-03-02 15:28:18 -03:00
Gregorio Litenstein e887cf11b0 Some clean-up 2017-03-02 15:27:54 -03:00
Gregorio Litenstein e66e7657b1 Reorganize Workspace 2017-03-02 15:26:06 -03:00