Commit Graph

8 Commits

Author SHA1 Message Date
Brandon Evans
4301667000 Replace print/dump/NSLog with os.log Logger 2021-01-16 13:14:27 -07:00
Brandon Evans
89143b8751 Dispatch Process.run work manually instead of using subscribe(on:) and receive(on:)
The previous implementation was doing something weird when it was used during installation in:

verifySecurityAssessment(of: installedXcode)
    .combineLatest(self.verifySigningCertificate(of: installedXcode.path.url))

It looks like it would subscribe after the Process.run future had already sent a value, and so it would never finish. This seems weird, and I'm assuming that I'm misunderstanding something about this behaviour, but dispatching manually seems reasonable and works.
2021-01-07 21:25:07 -07:00
Brandon Evans
bfb3fd9ea5 Add install functionality
I'm omitting aria2 support for now.
2021-01-07 21:25:07 -07:00
Brandon Evans
245780023b Convert Current.shell to Combine 2021-01-01 15:02:21 -07:00
Brandon Evans
f00ae396a6 Remove Current.shell sudo functionality
This'll be done in the helper
2021-01-01 15:02:20 -07:00
Brandon Evans
95ca2bc1c3 Remove PromiseKit and PMKFoundation 2021-01-01 10:29:27 -07:00
Brandon Evans
047288384d Reflect currently-selected Xcode in list 2020-12-28 19:58:36 -07:00
Brandon Evans
34adfb73a2 Reorganize files a bit 2020-12-22 21:01:33 -07:00