Modify migration logic

Extracted bulk of migration logic out of TPCResourceManager into its own class named TPCSandboxMigration.
Some logic of the migration remained in a private category of TPCResourceManager as it makes sense given the methods are related to resources / file access.
The entire migration system has been modified to be completely modular. Everything relies on the unified `installation` argument to perform migration on any number of containers.
The container for Standard Release was renamed to conform to Apple's standards. No more warnings. The migrator includes an entry for migrating beta users which will be removed before this goes into stable.
This commit is contained in:
Michael
2024-07-07 11:44:16 -04:00
parent 0d0006eccf
commit e2356c09bc
15 changed files with 249 additions and 361 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#include "Enabled Features.xcconfig"
TEXTUAL_BUNDLE_IDENTIFIER = com.codeux.apps.textual
TEXTUAL_GROUP_CONTAINER_IDENTIFIER = com.codeux.apps.textual.group
TEXTUAL_GROUP_CONTAINER_IDENTIFIER = 8482Q6EPL6.com.codeux.apps.textual
TEXTUAL_BUILD_SCHEME_TOKEN = debug
TEXTUAL_EXTENSION_BUILD_SCHEME = Debug
@@ -3,7 +3,7 @@
#include "Enabled Features.xcconfig"
TEXTUAL_BUNDLE_IDENTIFIER = com.codeux.apps.textual
TEXTUAL_GROUP_CONTAINER_IDENTIFIER = com.codeux.apps.textual.group
TEXTUAL_GROUP_CONTAINER_IDENTIFIER = 8482Q6EPL6.com.codeux.apps.textual
TEXTUAL_BUILD_SCHEME_TOKEN = devid
TEXTUAL_EXTENSION_BUILD_SCHEME = Release