resolves this awesome error:
ERROR: /app/squashfs-root
has mode 0700, but it must be readable and executable for all users (owner, group and others); the AppImage is run by users other than you, who would get 'Permission denied'
Fix: chmod a+r,a+x '/app/squashfs-root'
[...]
appimagetool: found 88 problem(s) in the AppDir, nothing was changed and no AppImage was created.
Fix the paths listed above, then run appimagetool again. To fix all read/execute permissions at once, run:
chmod -R a+rX '/app/squashfs-root'
chmod a+rx '/app/squashfs-root/AppRun'
If the files belong to root, prefix the chmod commands with sudo or first take ownership with this command: sudo chown -R $(id -un):$(id -gn) '/app/squashfs-root'
If you are certain that your AppImage needs these modes, pass --no-check-permissions to skip this check.
Signed-off-by: Jyrki Gadinger <[email protected]>
Read the main desktop entry icon name and validate its installed 512px PNG before deployment. Reuse the resolved path in both linuxdeploy calls, with regression coverage for deployment arguments, branded names, and missing icons.
Assisted-by: Codex:GPT-6
Signed-off-by: Claudio Cambra <[email protected]>
use the latest correct docker image
adapt to the new base image
change the default environement values to be sane and valid
Signed-off-by: Matthieu Gallien <[email protected]>
should enable to build flatpak packages directly from desktop repository
modify the build manifest to enable the new openvfs virtual files
feature
Signed-off-by: Matthieu Gallien <[email protected]>
Existing registration from a previous install is dropped and
added again rather than left untouched. pluginkit -a doesn't work
when the identifier is already registered, which can leave a
stale UUID/path cached in the PlugInKit database after the appex
on disk has been replaced by a newer build (e.g. installing over
an existing client), causing the FinderSyncBroker to fail to spawn.
So the result is a not working Finder extension.
Assisted-by: Claude:claude-sonnet-5
Signed-off-by: Camila Ayres <[email protected]>
Enables atomic replacement of the outer @[email protected]
payload during install/upgrade instead of PackageKit's default
file by file diff.
Without this, installing a rebranded client over an existing
install like a legacy client receipt being upgraded
via APPLICATION_REV_DOMAIN_INSTALLER can leave stale files from
the previous bundle mixed with the new payload, producing an
invalid code signature ("a sealed resource is missing or
invalid") that fails Gatekeeper/launchd validation on next boot.
Signed-off-by: Camila Ayres <[email protected]>
Fixes#8483
The AppImage build script moved sync-exclude.lst into /app/usr/bin/,
which is outside the AppDir tree that linuxdeploy/appimagetool actually
package. As a result the file never made it into the AppImage, and
ConfigFile::excludeFileFromSystem()'s AppImage fallback (which looks
next to the running executable) found nothing, leaving Linux AppImage
users with only the few hardcoded read-only patterns instead of the
full default exclusion list (including ~$* for Office lock files).
Signed-off-by: xhon-pelushi <[email protected]>
make Codesign.swift discover branded login-item names dynamically and derive the broker entitlement manifest from the existing FinderSync entitlement path. This avoids changing the CLI or Brander command.
Signed-off-by: Rello <[email protected]>
Drop the legacy embedded login flow (Flow v1 / WebViewFlow) and every
piece of build, packaging, and signing infrastructure that existed to
support it. The modern OAuth flow (Flow2, used by Nextcloud server
>= 16.0.0) already drives login through the system browser and remains
the only authentication path.
User-visible consequence: Nextcloud servers older than 16.0.0, and any
server advertising the legacy globalscale.desktoplogin=1 capability,
can no longer be added through an in-app embedded browser. Modern
servers are unaffected.
Changes:
- delete src/gui/wizard/webview{,page}.{h,cpp,ui,ui.license}
- drop BUILD_WITH_WEBENGINE option, find_package calls, and
target_link_libraries entries from CMake; drop the cmakedefine in
config.h.in
- remove DetermineAuthTypeJob's WebViewFlow enum value and the
third (OldFlow) capability probe; the job now only runs the GET and
PROPFIND probes
- remove ConfigFile::forceLoginV2 / setForceLoginV2 and the
forceLoginV2 settings key
- drop the useFlow2 boolean machinery: WebFlowCredentialsDialog now
always hosts Flow2AuthWidget, and OwncloudWizard / OwncloudSetupPage
no longer thread a useFlow2 flag
- drop Page_WebView, WebViewPage, the welcomepage WebEngine branch
(Create Account now always opens the system browser), and related
#ifdef WITH_WEBENGINE blocks
- remove --without-webengine flag and buildWithWebEngine craft option
from mac-crafter
- remove signQtWebEngineProcessApp helper from mac-crafter's Signer
- remove the WiX/MSI rule that stripped Qt6WebEngineCore.pdb
- remove qt5.qtwebengine (and the now-dead isARM helper) from the Nix
flake
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Signed-off-by: Iva Horn <[email protected]>
Replace the UNIX domain socket IPC between the desktop client and the
macOS Finder Sync extension with Apple's native XPC mechanism.
Motivation:
The socket-based approach used a custom line-based text protocol over
UNIX domain sockets, requiring manual parsing, hand-managed connection
lifecycles, and offering no built-in security validation. XPC is Apple's
recommended IPC for app extensions, providing type-safe method dispatch,
automatic lifecycle management, and code-signing verification.
Architecture:
Two Objective-C protocols define a bidirectional XPC contract:
- FinderSyncAppProtocol (extension -> app): file/folder status queries,
context menu requests, and command execution.
- FinderSyncProtocol (app -> extension): path registration, status badge
pushes, localized string delivery, and menu item streaming.
On the app side, FinderSyncXPC manages the XPC listener and broadcasts
to all connected extensions. FinderSyncService implements the app
protocol by adapting calls to the existing cross-platform SocketApi
business logic via a ResponseCapturingListener, avoiding any
reimplementation of sync status or menu command handling. Thread safety
across XPC and Qt threads is ensured via QMetaObject::invokeMethod with
blocking queued connections.
On the extension side, FinderSyncXPCManager handles connection setup,
reconnection with exponential backoff, and status caching. FinderSync
(the FIFinderSync subclass) delegates all communication to the XPC
manager and bridges Finder's synchronous menuForMenuKind: API to XPC's
async model using NSCondition.
Security is enforced through macOS entitlements (mach-register and
mach-lookup for the FinderSyncService name) and a server-side command
whitelist that restricts executable commands to a predefined set.
Removed:
- NCDesktopClientSocketKit framework (LocalSocketClient, LineProcessor)
- FinderSyncSocketLineProcessor and FileProviderSocketLineProcessor
- FileProviderSocketServer and FileProviderSocketController
Resolves#9430
Signed-off-by: Iva Horn <[email protected]>
- Changed KDE Craft build directory of mac-crafter to enable Spotlight indexing
- Copy debug symbol bundles into build directories
- Flatten the broken debug symbol bundles produced by KDE Craft
- Updated AGENTS.md
Signed-off-by: Iva Horn <[email protected]>
- Derived data directory ".xcode" for Xcode workspace in project root.
- Mac crafter build directory ".mac-crafter" in project root.
- Added all Swift packages and Xcode projects to workspace.
- Added some important top-level files and other directories.
- Removed obsolete Xcode workspace in shell integration directory.
- Removed obsolete OwnCloudFinderSync folder.
- Updated AGENTS.md.
- Updated README.md.
- Renamed NextcloudDev scheme to Nextcloud Developer Client.
- Fixed Xcode not being abled to resolve breakpoints because the dSYM files are in a dot-directory which is not indexed by Spotlight. mac-crafter now copies the debug symbols manually into the app bundle so they are found.
Signed-off-by: Iva Horn <[email protected]>
- Raised required macOS version to 13 for Swift packages.
- Removed fallback code switches for macOS and file provider framework releases before macOS 13.
- Consolidated Xcode project build settings into single declaration in build settings file.
Signed-off-by: Iva Horn <[email protected]>