mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Implement creating debug archive in client communication service
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
9733c11f7f
commit
70521e95bc
@ -24,6 +24,7 @@
|
||||
serverUrl:(NSString *)serverUrl
|
||||
password:(NSString *)password;
|
||||
- (void)removeAccountConfig;
|
||||
- (void)createDebugArchiveAtURL:(NSURL *)url;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@ -60,4 +60,10 @@ class ClientCommunicationService: NSObject, NSFileProviderServiceSource, NSXPCLi
|
||||
func removeAccountConfig() {
|
||||
self.fpExtension.removeAccountConfig()
|
||||
}
|
||||
|
||||
func createDebugArchive(at url: URL!) {
|
||||
if #available(macOSApplicationExtension 12.0, *) {
|
||||
Logger.createDebugArchive(saveFolderUrl: url)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user