Skip to content

Commit 22fb399

Browse files
committed
Fix DMG name bug.
1 parent a1adcd8 commit 22fb399

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ APP_NAME=CleanCopy
77
BUNDLE_ID=interimSolutions.CleanCopy # Ensure this matches your Info.plist PRODUCT_BUNDLE_IDENTIFIER
88
BUILD_DIR=./build/Build/Products/$(CONFIG)# Build directory depends on CONFIG
99
APP_PATH=$(BUILD_DIR)/$(APP_NAME).app
10-
DMG_NAME=$(APP_NAME)-$(CONFIG).dmg # DMG name includes CONFIG
10+
DMG_NAME=$(APP_NAME)-$(CONFIG).dmg
1111
RESOURCES_DIR=dmg-resources
1212
BACKGROUND_IMG=$(RESOURCES_DIR)/background.png
1313
LICENSE_FILE=$(RESOURCES_DIR)/LICENSE.txt
@@ -33,7 +33,7 @@ run: build
3333

3434
# Package the application into a DMG (uses default CONFIG unless specified: make package CONFIG=Release)
3535
package: build
36-
@echo "Packaging $(APP_NAME) ($(CONFIG)) into $(DMG_NAME)..."
36+
@echo "Packaging $(APP_NAME) ($(CONFIG)) into _$(DMG_NAME)_"
3737
@# Ensure resources directory exists (optional, create-dmg might handle it)
3838
@mkdir -p $(RESOURCES_DIR)
3939
@# Check if create-dmg exists before running
@@ -53,7 +53,7 @@ package: build
5353
--hide-extension "$(APP_NAME).app" \
5454
--app-drop-link 425 120 \
5555
--eula "$(LICENSE_FILE)" \
56-
--outfile "$(DMG_NAME)" \
56+
"$(DMG_NAME)" \
5757
"$(APP_PATH)"
5858
@echo "DMG created: $(DMG_NAME)"
5959

0 commit comments

Comments
 (0)