Fix some paths displayed in the console
@@ -18,13 +18,14 @@ import UIKit
var text_ = text
#if MAIN
- text_ = text_.replacingOccurrences(of: URL(fileURLWithPath: "/private").appendingPathComponent(DocumentBrowserViewController.localContainerURL.path).path, with: "Documents")
text_ = text_.replacingOccurrences(of: DocumentBrowserViewController.localContainerURL.path, with: "Documents")
+ text_ = text_.replacingOccurrences(of: "/privateDocuments", with: "Documents")
if let iCloudDrive = DocumentBrowserViewController.iCloudContainerURL?.path {
text_ = text_.replacingOccurrences(of: iCloudDrive, with: "iCloud")
}
text_ = text_.replacingOccurrences(of: Bundle.main.bundlePath, with: "Pyto.app")
+ text_ = text_.replacingOccurrences(of: "/privatePyto.app", with: "Pyto.app")
#endif
Python.shared.output += text_
