Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important
The system automatically migrates Vienna's library files to a sandbox container on launching Vienna with sandboxing enabled. This can be reversed by using the provided shell script (
Vienna.app/Contents/SharedSupport/undo-container-migration.sh
), e.g. for development purposes or for downgrading to an earlier version of Vienna.The container-migration.plist file specifies the old and new locations for the migration. It should cover all of Vienna's directories and files, so that the user ideally ends up with a complete sandbox container.
Some system-defined locations have to be changed to avoid duplication. For example, Apple moved the cookies storage from
~/Library/Cookies
to~/Library/HTTPStorages
starting with macOS 11/Safari 14. Within sandbox containers however,~/Library/Cookies
is used. The automatic migration does not overwrite files. Therefore, a migration of~/Library/HTTPStorages
is attempted first. If that attempt is successful then the migration of~/Library/Cookies
should (silently) fail; otherwise~/Library/Cookies
is migrated instead.User preferences in
~/Library/Preferences
are migrated automatically. User scripts are migrated from~/Library/Scripts/Applications/Vienna
to~/Library/Application Scripts/<bundle ID>
and a symlink is left at the former location; this also happens automatically.The shell script uses ditto to copy the directories. Ditto will merge directories rather than overwrite them, if the destination directory exists. It will, however, overwrite individual files.