Commit graph

164 commits

Author SHA1 Message Date
Brandon Evans
b2608d009a
Fix scripts so app is appropriately zipped
It was nested inside Products before
2021-01-19 21:46:03 -07:00
Brandon Evans
29aa1e3b0e
Add Sparkle public key to Info.plist 2021-01-19 21:46:02 -07:00
Brandon Evans
b39d6d58da
Add Toggle for prerelease appcast 2021-01-19 21:46:02 -07:00
Brandon Evans
f3a3961e0e
Split up preferences, add Updates pane 2021-01-19 21:46:02 -07:00
Brandon Evans
b3dbb1af45
Initialize SUUpdater and add check for updates menu item 2021-01-19 21:46:02 -07:00
Brandon Evans
e7eea3bee1
Add Sparkle 2021-01-19 21:46:02 -07:00
Brandon Evans
21d6ef832b
Merge pull request #61 from RobotsAndPencils/fix-appcast
Manually build and deploy the appcasts
2021-01-19 20:26:40 -07:00
Brandon Evans
23df4a8c3a
Merge pull request #59 from RobotsAndPencils/xpc-connection-bug
Fold HelperInstaller into HelperClient, improve error handling and logging
2021-01-19 20:26:23 -07:00
Brandon Evans
312f0f6c6a
Try a different method of building the appcast site 2021-01-19 18:43:18 -07:00
Brandon Evans
85848e6bc9
Merge pull request #60 from RobotsAndPencils/github-pages-appcast
Build and publish appcasts with GitHub Pages
2021-01-19 08:52:39 -07:00
Brandon Evans
7cb94f5dd6
Build and publish appcasts with GitHub Pages 2021-01-18 21:56:23 -07:00
Brandon Evans
c2482d6740
Merge pull request #42 from RobotsAndPencils/enhancement/13-softwareUpdates
Enhancement 13: A software update mechanism (step 1 of 3)
2021-01-18 20:10:47 -07:00
Brandon Evans
6e0daa5325
Add notarization script 2021-01-18 20:10:21 -07:00
Brandon Evans
8a0fa1da2e
Use git tags to track build numbers 2021-01-18 19:44:16 -07:00
Brandon Evans
38cf21625b
Add steps for releasing a new version to README 2021-01-18 19:16:36 -07:00
Chad Sykes
6b9b36d6ee
Add a packageRelease.sh script to help automate the generation of release assets 2021-01-18 19:16:36 -07:00
Chad Sykes
cec8fd884a
Add a script to incrementing the project build number in a yyyymmddnnn format where the nnn is an auto incrementing number (i.e. 20210103001) 2021-01-18 18:52:02 -07:00
Brandon Evans
e467f26adc
Add more logging to HelperClient 2021-01-17 12:37:40 -07:00
Brandon Evans
3d5edb3968
Replace NSError() with specific error 2021-01-17 12:29:28 -07:00
Brandon Evans
55e0447e54
Invalidate XPC connection after installing 2021-01-17 11:57:45 -07:00
Brandon Evans
a29c18fa45
Xcode really wants to reorder these files, so let it 2021-01-17 11:56:39 -07:00
Brandon Evans
808dd022ed
Merge pull request #58 from RobotsAndPencils/build-identifiers-in-ui
Always show build identifiers in list and info pane
2021-01-16 13:36:11 -07:00
Brandon Evans
a504504825
Always show build identifiers in list and info pane 2021-01-16 13:30:52 -07:00
Brandon Evans
12bf1ad8be
Merge pull request #54 from RobotsAndPencils/logging
Replace print/dump/NSLog with os.log Logger
2021-01-16 13:30:34 -07:00
Brandon Evans
4301667000
Replace print/dump/NSLog with os.log Logger 2021-01-16 13:14:27 -07:00
Brandon Evans
8a65a2e2a2
Merge pull request #50 from RobotsAndPencils/move-path-into-installed-state
Move path into installed state
2021-01-16 13:14:11 -07:00
Brandon Evans
cd2bde2272
Move Xcode path into XcodeInstallState.installed case 2021-01-16 13:09:48 -07:00
Brandon Evans
0161e6b43d
Merge pull request #49 from RobotsAndPencils/version-comparison-and-updating
Version comparison and updating
2021-01-16 13:04:38 -07:00
Brandon Evans
bc27f1785b
Filter out prerelease versions that have the same build identifier as a release build 2021-01-16 11:40:27 -07:00
Brandon Evans
62237bf4a8
Fix a bug when an installed version was appended
We were appending a version without appending a corresponding AvailableXcode, and these two arrays were being zipped later so they wouldn't line up. This change simplifies this method a bit by working on only a single array, and then also moves that appending to the end after the array of Xcodes is created.
2021-01-16 11:40:04 -07:00
Brandon Evans
26da7969a1
Make sure install updates happen on main queue 2021-01-16 10:15:39 -07:00
Brandon Evans
ed023218b8
Simplify Version comparison 2021-01-16 10:15:39 -07:00
Brandon Evans
faad4c2ab7
Fix bug where adjusted versions weren't used to look up AvailableXcodes 2021-01-16 10:15:39 -07:00
Brandon Evans
baa8491786
If build metadata identifiers match, treat it as a match regardless of other version components 2021-01-16 10:15:39 -07:00
Brandon Evans
ad02e89449
Add failing test to cover removing an uninstalled version, fix it
https://github.com/RobotsAndPencils/XcodesApp/pull/44#issuecomment-756783640
2021-01-16 10:15:32 -07:00
Brandon Evans
cc81f97c30
Merge pull request #56 from RobotsAndPencils/readme-graphics
Add icon, screenshot and features list to README
2021-01-16 10:13:19 -07:00
Brandon Evans
683b2e45fb
Merge pull request #52 from RobotsAndPencils/kill-aria-if-xcodes-quits
Stop aria2c if Xcodes stops
2021-01-16 10:12:58 -07:00
Brandon Evans
415454ec5f
Add icon, screenshot and features list to README 2021-01-14 20:18:07 -07:00
Brandon Evans
7e960ecf2a
Merge pull request #55 from RobotsAndPencils/sam/appIcon
Add app icon
2021-01-14 19:26:06 -07:00
Sam Lu
47a6bf01be
Add app icon 2021-01-14 11:04:46 -07:00
Brandon Evans
0295bc8b1b
Stop aria2c if Xcodes stops
I removed this because I thought it wasn't necessary for some reason. We do send a SIGTERM if the user cancels the installation (via subscription cancellation), but if the whole app quits aria2c would keep running in the background.
2021-01-12 20:51:22 -07:00
Brandon Evans
10a96ddfa3
Merge pull request #46 from RobotsAndPencils/aria2
Bundle aria2c for faster downloads
2021-01-12 20:20:49 -07:00
Brandon Evans
93f819f2f3
Add downloaders to SettingsView 2021-01-08 17:22:38 -07:00
Brandon Evans
23cd43011b
Bundle aria2c 1.35.0 executable and source 2021-01-08 17:22:38 -07:00
Brandon Evans
02cebac427
Merge pull request #44 from RobotsAndPencils/install
Implement install functionality
2021-01-08 17:21:00 -07:00
Brandon Evans
fecb40893f
Don't replace existing install state when updating 2021-01-07 21:25:08 -07:00
Brandon Evans
4a33d010a8
Confirm before cancelling installation 2021-01-07 21:25:08 -07:00
Brandon Evans
1a830dc9dc
Add cancel install button to context menu and info pane 2021-01-07 21:25:08 -07:00
Brandon Evans
482b32e4e0
Add isTesting to make NSTestCase check more clear 2021-01-07 21:25:07 -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