Replace "/privateDocuments" by "Documents" on output
@@ -18,8 +18,8 @@ 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_.replacingFirstOccurrence(of: "/privateDocuments", with: "Documents")
if let iCloudDrive = DocumentBrowserViewController.iCloudContainerURL?.path {
text_ = text_.replacingOccurrences(of: iCloudDrive, with: "iCloud")
}
@@ -51,8 +51,8 @@ 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_.replacingFirstOccurrence(of: "/privateDocuments", with: "Documents")
if let iCloudDrive = DocumentBrowserViewController.iCloudContainerURL?.path {
text_ = text_.replacingOccurrences(of: iCloudDrive, with: "iCloud")
}
@@ -79,8 +79,8 @@ 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_.replacingFirstOccurrence(of: "/privateDocuments", with: "Documents")
if let iCloudDrive = DocumentBrowserViewController.iCloudContainerURL?.path {
text_ = text_.replacingOccurrences(of: iCloudDrive, with: "iCloud")
}
