Releases: p-x9/AppContainer
Releases · p-x9/AppContainer
0.3.1
v0.3.0
What's Changed
Breaking Changes
Setting plist file path is changed (#45)
Renamed settings file from settings.plist
to com.p-x9.AppContainer.settings.plist
.
Warning
Information on the currently active container will be lost.
This change will not cause any loss of information for containers other than the currently active container.
If you want to carry over information created in previous versions, you will need to rename the file as follows.
let fileManager = FileManager.default
let home = NSHomeDirectory()
// If you are using it for App Group, change as follows
// let home = fileManager.containerURL(forSecurityApplicationGroupIdentifier: "YOUR APP GROUP IDENTIFIER")!.absoluteString
let libraryPath = home + "/Library"
let oldPath = libraryPath + "/settings.plist"
let newPath = libraryPath + "/com.p-x9.AppContainer.settings.plist"
guard fileManager.fileExists(atPath: oldPath) else { return }
try? fileManager.moveItem(atPath: oldPath, toPath: newPath)
Full Changelog: 0.2.2...0.3.0