-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Note: 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, 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.
- Loading branch information
Showing
12 changed files
with
263 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>MigrateScriptsForApplication</key> | ||
<string>Vienna</string> | ||
<key>Move</key> | ||
<array> | ||
<array> | ||
<string>${Caches}/${BundleId}/WebKit</string> | ||
<string>${Caches}/WebKit</string> | ||
</array> | ||
<string>${Caches}/${BundleId}</string> | ||
<array> | ||
<string>${ApplicationSupport}/Vienna/Sources</string> | ||
<string>${Caches}/${BundleId}/Sources</string> | ||
</array> | ||
<string>${ApplicationSupport}/Vienna</string> | ||
<string>${Library}/HTTPStorages/${BundleId}</string> | ||
<array> | ||
<string>${Library}/HTTPStorages/${BundleId}.binarycookies</string> | ||
<string>${Library}/Cookies/Cookies.binarycookies</string> | ||
</array> | ||
<array> | ||
<string>${Library}/Cookies/${BundleId}.binarycookies</string> | ||
<string>${Library}/Cookies/Cookies.binarycookies</string> | ||
</array> | ||
<string>${Library}/Saved Application State/${BundleId}.savedState</string> | ||
<array> | ||
<string>${Library}/WebKit/${BundleId}</string> | ||
<string>${Library}/WebKit</string> | ||
</array> | ||
<array> | ||
<string>${Library}/WebKit/Databases/___IndexedDB/${BundleId}</string> | ||
<string>${Library}/WebKit/Databases/___IndexedDB</string> | ||
</array> | ||
</array> | ||
</dict> | ||
</plist> |
Oops, something went wrong.