mirror of
https://github.com/Codeux-Software/Textual.git
synced 2026-06-16 13:24:32 +00:00
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.
39 lines
1.3 KiB
Plaintext
Executable File
39 lines
1.3 KiB
Plaintext
Executable File
|
|
set -e
|
|
|
|
export BUILD_PATH="/private/tmp/Textual-${RANDOM}"
|
|
|
|
export BUILD_PATH_SCRIPTS_STANDALONE="${BUILD_PATH}/Library/Application Scripts/com.codeux.apps.textual"
|
|
export BUILD_PATH_EXTENSIONS_STANDALONE="${BUILD_PATH}/Library/Group Containers/8482Q6EPL6.com.codeux.apps.textual/Library/Application Support/Textual/Extensions"
|
|
|
|
export CURRENT_DIRECTORY=$(cd `dirname $0` && pwd)
|
|
|
|
export SOURCE_FILES_SCRIPTS="${CURRENT_DIRECTORY}/Installation Files/Scripts"
|
|
export SOURCE_FILES_EXTENSIONS="${CURRENT_DIRECTORY}/Installation Files/Extensions"
|
|
|
|
export PACKAGES_DESTINATION="${CURRENT_DIRECTORY}/Packages"
|
|
|
|
echo "**************************"
|
|
|
|
"${CURRENT_DIRECTORY}/Installer Helpers/Build-Scripts-Package" "AudioVideo" "hermes,music,np,qt,radium,spotify,vlc"
|
|
|
|
echo "**************************"
|
|
|
|
"${CURRENT_DIRECTORY}/Installer Helpers/Build-Scripts-Package" "Fun" "banhammer,ffuu,o_o,slap"
|
|
|
|
echo "**************************"
|
|
|
|
"${CURRENT_DIRECTORY}/Installer Helpers/Build-Scripts-Package" "Utilities" "apps,flip,page,reverse,shell"
|
|
|
|
echo "**************************"
|
|
|
|
"${CURRENT_DIRECTORY}/Installer Helpers/Build-Extension-Package" "BlowfishEncryption"
|
|
|
|
echo "**************************"
|
|
|
|
"${CURRENT_DIRECTORY}/Installer Helpers/Build-Extension-Package" "WikiStyleLinkParser"
|
|
|
|
echo "**************************"
|
|
|
|
"${CURRENT_DIRECTORY}/Installer Helpers/Build-Final-Package"
|