From 6a8d07c22b4cedc838541893433f58b6075dcc09 Mon Sep 17 00:00:00 2001 From: Samuel Zielke Date: Sun, 11 Oct 2026 23:13:02 +0200 Subject: [PATCH] Versionsnummer im Bundle aus MARKETING_VERSION/CURRENT_PROJECT_VERSION MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit XcodeGen hat feste Werte (1.0 / 1) in die Info.plist geschrieben; Sparkle hätte das Update auf 1.0.0 nie angeboten. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01ShKCZzkdZhym6mHuPqXQAT --- Sources/DropTwo/Info.plist | 4 ++-- project.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Sources/DropTwo/Info.plist b/Sources/DropTwo/Info.plist index 129da75..1b6d9c8 100644 --- a/Sources/DropTwo/Info.plist +++ b/Sources/DropTwo/Info.plist @@ -17,9 +17,9 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + $(MARKETING_VERSION) CFBundleVersion - 1 + $(CURRENT_PROJECT_VERSION) LSMinimumSystemVersion 13.0 LSUIElement diff --git a/project.yml b/project.yml index 338b4b7..72fcd25 100644 --- a/project.yml +++ b/project.yml @@ -58,6 +58,9 @@ targets: properties: CFBundleName: drop.two CFBundleDisplayName: drop.two + # Sonst schreibt XcodeGen feste Werte (1.0 / 1) — Sparkle vergleicht CFBundleVersion. + CFBundleShortVersionString: $(MARKETING_VERSION) + CFBundleVersion: $(CURRENT_PROJECT_VERSION) LSMinimumSystemVersion: "13.0" LSUIElement: false # true = reiner Menu-Bar-Betrieb ohne Dock-Icon NSHumanReadableCopyright: "(c) Samuel Zielke"