From 799df98fdea385722a4ad0b341274fd36a1fd38a Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 11 Jul 2025 17:12:23 +0200 Subject: Use the correct prefix for sparkle downloads --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3cd771f..3e60410 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ project_name := Map derived_data_path := ~/Library/Developer/Xcode/DerivedData sparkle_path := $(shell find $(derived_data_path) -type d -path '*artifacts/sparkle/Sparkle' -print -quit) +download_url := https://build.r.bdr.sh/map/ build_directory := builds sparkle_account := tranquil.systems deploy_host := deploy@conchos.bdr.sh @@ -30,7 +31,7 @@ package: @scripts/package.sh "$(project_name)" "$(build_directory)" generate_appcast: - @$(sparkle_path)/bin/generate_appcast --account $(sparkle_account) $(build_directory) + @$(sparkle_path)/bin/generate_appcast --download-url-prefix $(download_url) --account $(sparkle_account) $(build_directory) archive: prepare @xcodebuild -project $(project_name).xcodeproj -scheme $(project_name) -configuration Release -archivePath $(build_directory)/$(project_name).xcarchive archive && xcodebuild -exportArchive -archivePath $(build_directory)/$(project_name).xcarchive -exportPath $(build_directory) -exportOptionsPlist export_options.plist -- cgit