Commit graph

36 commits

Author SHA1 Message Date
Xerol Wong
038c0e109f fix: prevent race condition when installing multiple Xcode versions concurrently
Each XIP is now extracted into a version-specific directory (e.g. Xcode-16.0-extract/)
instead of sharing the same parent directory, eliminating the race where one version's
extracted Xcode.app could be moved to another version's destination path.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 17:40:53 +09:00
Matt Kiazyk
2e2b16e759 warning if users download silicon runtime without xcode 26 selected 2025-08-25 22:26:41 -05:00
Matt Kiazyk
20b9833b67 feat: support downloading of cryptex runtimes 2024-10-11 10:57:16 -05:00
LiYanan2004
9a5e127387 Resolve warning on Swift 5.10 2024-03-16 10:28:16 +08:00
Matt Kiazyk
57bf6d8a80 add ability to cancel runtime downloads 2023-12-02 09:24:54 -06:00
Matt Kiazyk
c1836a78c4 PR Cleanup. 2023-12-01 10:05:36 -06:00
Matt Kiazyk
ec4dc2b3d0 runtime clean up 2023-11-23 13:30:59 -06:00
Matt Kiazyk
6ffce23616 more WIP 2023-11-23 10:37:41 -06:00
Matt Kiazyk
dc5a8b03b6 WIP download runtime, refactor 2023-09-22 15:35:26 -05:00
Matt Kiazyk
4f25905f4c start moving over to XcodesKit package. Runtimes searching 2023-06-06 23:29:09 -05:00
Matt Kiazyk
8b43903b42
Add ability to download Xcode without logging in using XcodeRelease 2022-09-16 21:34:14 -05:00
Matt Kiazyk
b64af2fc44
add option to rename Xcode to Xcode.app on select. 2022-07-24 15:27:34 -05:00
Matt Kiazyk
ce001c8e68
add a unxip experiment for faster unxipping 2022-02-06 13:25:23 -06:00
Matt Kiazyk
e11cdd1198
Fix up Tests - modify validateSession to use our network wrapper. 2021-10-19 10:54:47 -05:00
Matt Kiazyk
094bb6f0cc
Adds MacOS notifications 2021-04-28 21:50:44 -05:00
Brandon Evans
e301ad8818
Configure aria2c Progress better
Using .file kind and .downloading file operation kind will produce a more appropriate localizedAdditionalDescription.

The fileTotalCount and fileCompletedCount aren't appropriate for this case, because there's only one file being downloaded.
2021-02-18 19:14:44 -07:00
Matt Kiazyk
b06be4e3fa
Download stats for Aria2 2021-02-13 21:23:22 -06:00
Brandon Evans
e21e4d9cdf
Handle helper installation errors 2021-01-22 22:18:59 -07:00
Brandon Evans
55e0447e54
Invalidate XPC connection after installing 2021-01-17 11:57:45 -07:00
Brandon Evans
4301667000
Replace print/dump/NSLog with os.log Logger 2021-01-16 13:14:27 -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
23cd43011b
Bundle aria2c 1.35.0 executable and source 2021-01-08 17:22:38 -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
813489b5fa
Add Environment+Mock 2021-01-03 10:18:48 -07:00
Brandon Evans
b1e6cffd09
Use helper from Current 2021-01-03 10:18:08 -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
fa277ccaae
Convert URLSession.downloadTask to Combine 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
b342baff02
Update when the app launches or becomes active and it's been a day since last update 2020-12-27 18:29:25 -07:00
Brandon Evans
4ef8428151
Convert XcodeList to Combine 2020-12-27 18:29:24 -07:00
Brandon Evans
bfb56660bf
Sign In instead of Login 2020-12-22 22:11:42 -07:00
Brandon Evans
5149e817da
Store credentials in the keychain
Like xcodes, storing the username in defaults so we know which item to look up in the keychain later. This also fixes the Xcode list update logic to not only validate the session but login with saved credentials if it fails.
2020-12-22 22:06:18 -07:00
Brandon Evans
155c62de77
Fix bundle IDs 2020-12-22 21:26:05 -07:00
Brandon Evans
34adfb73a2
Reorganize files a bit 2020-12-22 21:01:33 -07:00
Renamed from Xcodes/Environment.swift (Browse further)