Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,11 @@ PLATFORM_FRAMEWORKS_SEARCH_PATHS = /System/Library/Frameworks
################################################################################
#PLATFORM_CC=

# app version (CFBundleShortVersionString, shown in the About window) and build
# number (CFBundleVersion); set APP_VERSION / APP_BUILD in the project's config.make
APP_VERSION ?= 1.0
APP_BUILD ?= 1

afterplatform: $(TARGET_NAME)
@rm -rf bin/$(BIN_NAME).app
@mkdir -p bin/$(BIN_NAME).app
Expand All @@ -439,7 +444,8 @@ afterplatform: $(TARGET_NAME)
@sed -i '' 's/\$${EXECUTABLE_NAME}/$(BIN_NAME)/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${TARGET_NAME}/$(BIN_NAME)/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${PRODUCT_BUNDLE_IDENTIFIER}/cc.openFrameworks.$(BIN_NAME)/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${MARKETING_VERSION}/1.0/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${MARKETING_VERSION}/$(APP_VERSION)/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${CURRENT_PROJECT_VERSION}/$(APP_BUILD)/g' bin/$(BIN_NAME).app/Contents/Info.plist

@echo TARGET=$(TARGET)
@mv $(TARGET) bin/$(BIN_NAME).app/Contents/MacOS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,11 @@ PLATFORM_FRAMEWORKS_SEARCH_PATHS = /System/Library/Frameworks
################################################################################
#PLATFORM_CC=

# app version (CFBundleShortVersionString, shown in the About window) and build
# number (CFBundleVersion); set APP_VERSION / APP_BUILD in the project's config.make
APP_VERSION ?= 1.0
APP_BUILD ?= 1

afterplatform: $(TARGET_NAME)
@rm -rf bin/$(BIN_NAME).app
@mkdir -p bin/$(BIN_NAME).app
Expand All @@ -441,7 +446,8 @@ afterplatform: $(TARGET_NAME)
@sed -i '' 's/\$${EXECUTABLE_NAME}/$(BIN_NAME)/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${TARGET_NAME}/$(BIN_NAME)/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${PRODUCT_BUNDLE_IDENTIFIER}/cc.openFrameworks.$(BIN_NAME)/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${MARKETING_VERSION}/1.0/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${MARKETING_VERSION}/$(APP_VERSION)/g' bin/$(BIN_NAME).app/Contents/Info.plist
@sed -i '' 's/\$${CURRENT_PROJECT_VERSION}/$(APP_BUILD)/g' bin/$(BIN_NAME).app/Contents/Info.plist

@echo TARGET=$(TARGET)
@mv $(TARGET) bin/$(BIN_NAME).app/Contents/MacOS
Expand Down
11 changes: 11 additions & 0 deletions scripts/templates/macos/config.make
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
################################################################################
# OF_ROOT = ../../..

################################################################################
# APP VERSION
# The app's version, shown in the macOS About window (CFBundleShortVersionString),
# and its build number (CFBundleVersion).
#
# (default) APP_VERSION = 1.0
# (default) APP_BUILD = 1
################################################################################
# APP_VERSION = 1.0
# APP_BUILD = 1

################################################################################
# PROJECT ROOT
# The location of the project - a starting place for searching for files
Expand Down
11 changes: 11 additions & 0 deletions scripts/templates/osx/config.make
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@
################################################################################
# OF_ROOT = ../../..

################################################################################
# APP VERSION
# The app's version, shown in the macOS About window (CFBundleShortVersionString),
# and its build number (CFBundleVersion).
#
# (default) APP_VERSION = 1.0
# (default) APP_BUILD = 1
################################################################################
# APP_VERSION = 1.0
# APP_BUILD = 1

################################################################################
# PROJECT ROOT
# The location of the project - a starting place for searching for files
Expand Down
Loading