It is a transient dependency through NextcloudFileProviderKit anyway and was conflicting with that (besides still referring to claucambra).
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
As per [the docs for `NSFileProviderReplicatedExtension
item(for:request:completionHandler:)`][1], the system will automatically
retry calling the method if the error is not one of `.notAuthenticated`,
`.serverUnreachable`, or `.noSuchItem`.
From my observations it seems that if the error `.cannotSynchronize` is
returned for the root container (i.e.
`NSFileProviderRootContainerItemIdentifier`), the system/file provider
framework just ends up deleting the newly created sync directory inside
`~/Library/CloudStorage`. This broke the entry in the Finder sidebar.
After changing the error to `.notAuthenticated` (which is semantically
wrong, but alas), I now could disable/enable the File Provider as often
as I wanted without the Finder sidebar entry to ever break due to the
directory having been removed previously ... Strange, this.
[1]: https://developer.apple.com/documentation/fileprovider/nsfileproviderreplicatedextension/item(for:request:completionhandler:)#Discussion
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
LLVM could not resolve breakpoints set in Xcode. That requires dSYM files to work. I changed the build setting to produce these files for all targets and debug configuration builds. Now it is possible to also conveniently break in Xcode when attaching to the extension processes.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
Introduced a new target with external build system in the NextcloudIntegration Xcode project to conveniently run mac-crafter from Xcode.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
- Removed explicit reference to NextcloudKit dependency which implicitly is pulled in already by NextcloudFileProviderKit.
- Consolidated some source code files into their respective view controllers in the file provider UI extension.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
Update the generic tray icons, introduce colored non-state variants,
and update the shell integration emblems to match.
Signed-off-by: kramo <git@kramo.page>
The issue is that the folder/file emblems appeared very small if
they are shared, because the shared version of the emblems are not square
and Nautilus will scale them to fit.
Signed-off-by: Tamás Bari <adaorcpp@gmail.com>
Trying to delete items from the trash with the "Allow deletion of items
in Trash" setting unticked would previously result in the sync state
being stuck in the "Syncing" state.
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
- The master branch of the desktop client should always refer to the main branch of the package, so latest changes are available.
- Stable desktop client branches then should refer to tags based on semantic versioning or release branches in the package specific for the desktop client version.
Signed-off-by: Iva Horn <iva.horn@icloud.com>