File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
src/bin/nsapps/rvlinklauncher Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,13 @@ ADD_EXECUTABLE(
1313 ${_sources}
1414)
1515
16+ # Set version suffix based on release type
17+ IF (NOT RV_RELEASE_DESCRIPTION STREQUAL "RELEASE" )
18+ SET (RV_VERSION_SUFFIX "-${ORV_GIT_COMMIT_SHORT_HASH_RES} " )
19+ ELSE ()
20+ SET (RV_VERSION_SUFFIX "" )
21+ ENDIF ()
22+
1623SET_TARGET_PROPERTIES (
1724 ${_target}
1825 PROPERTIES MACOSX_BUNDLE TRUE
Original file line number Diff line number Diff line change 55 <key >CFBundleName </key >
66 <string >RVLinkLauncher </string >
77 <key >CFBundleIdentifier </key >
8- <string >com.autodesk.${RV_INTERNAL_APPLICATION_NAME}.${_target}.${RV_MAJOR_VERSION}.${RV_MINOR_VERSION}.${RV_REVISION_NUMBER} </string >
8+ <string >com.autodesk.${RV_INTERNAL_APPLICATION_NAME}.${_target}.${RV_MAJOR_VERSION}.${RV_MINOR_VERSION}.${RV_REVISION_NUMBER}${RV_VERSION_SUFFIX} </string >
99 <key >CFBundleVersion </key >
10- <string >${RV_MAJOR_VERSION}.${RV_MINOR_VERSION}.${RV_REVISION_NUMBER} </string >
10+ <string >${RV_MAJOR_VERSION}.${RV_MINOR_VERSION}.${RV_REVISION_NUMBER}${RV_VERSION_SUFFIX} </string >
1111 <key >CFBundleExecutable </key >
1212 <string >RVLinkLauncher </string >
1313 <key >CFBundlePackageType </key >
2020 <string >RVLinkLauncher.icns </string >
2121 <key >LSApplicationCategoryType </key >
2222 <string >public.app-category.utilities </string >
23- <key >LSMultipleInstancesProhibited </key >
24- <true />
2523 <key >CFBundleShortVersionString </key >
26- <string >${RV_MAJOR_VERSION}.${RV_MINOR_VERSION}.${RV_REVISION_NUMBER} </string >
24+ <string >${RV_MAJOR_VERSION}.${RV_MINOR_VERSION}.${RV_REVISION_NUMBER}${RV_VERSION_SUFFIX} </string >
2725 <key >CFBundleSupportedPlatforms </key >
2826 <array >
2927 <string >MacOSX </string >
You can’t perform that action at this time.
0 commit comments