Gregorio Litenstein
0dd7b0be76
SwiftDefaultApps CLI: Fix “Illegal instruction: 4”
...
Fix crash caused by forcedly unwrapping some optionals when printing the results of a command.
2019-07-26 00:43:46 -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
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
9e4ca7d54f
Some clean-up and renames
...
Renamed SWDAMainPRefpane.swift to main.swift, CLI app from lsreg to swda and renamed asset catalog.
2019-06-17 00:46:22 -04:00
Gregorio Litenstein
733478d23c
Fix CLI tool.
2017-09-26 22:47:18 -03:00
Gregorio Litenstein
c978084066
Clean up.
2017-05-01 00:13:55 -03:00
Gregorio Litenstein
6b75bbe2a9
Add role option to the CLI.
2017-05-01 00:12:56 -03:00
Gregorio Litenstein
49c45b700d
Remove some forced-unwrapping.
2017-03-28 21:26:21 -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
ad997d0c0e
More changes to account for new workspace.
2017-03-16 23:19:11 -03:00
Gregorio Litenstein
e66e7657b1
Reorganize Workspace
2017-03-02 15:26:06 -03:00