mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-01-30 19:23:12 +00:00
Set output name to Cemu (not Cemu_release) if it is a release build
This commit is contained in:
parent
55aed97f80
commit
c6dc2aa168
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -280,8 +280,6 @@ jobs:
|
||||
run: |
|
||||
mkdir bin/Cemu_app
|
||||
mv bin/Cemu.app bin/Cemu_app/Cemu.app
|
||||
mv bin/Cemu_app/Cemu.app/Contents/MacOS/Cemu_release bin/Cemu_app/Cemu.app/Contents/MacOS/Cemu
|
||||
sed -i '' 's/Cemu_release/Cemu/g' bin/Cemu_app/Cemu.app/Contents/Info.plist
|
||||
ln -s /Applications bin/Cemu_app/Applications
|
||||
hdiutil create ./bin/tmp.dmg -ov -volname "Cemu" -fs HFS+ -srcfolder "./bin/Cemu_app"
|
||||
hdiutil convert ./bin/tmp.dmg -format UDZO -o bin/Cemu.dmg
|
||||
|
||||
@ -70,7 +70,11 @@ endif()
|
||||
|
||||
set_property(TARGET CemuBin PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
|
||||
set_property(TARGET CemuBin PROPERTY WIN32_EXECUTABLE $<NOT:$<CONFIG:Debug>>)
|
||||
set(OUTPUT_NAME "Cemu_$<LOWER_CASE:$<CONFIG>>")
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "release")
|
||||
set(OUTPUT_NAME "Cemu")
|
||||
else()
|
||||
set(OUTPUT_NAME "Cemu_$<LOWER_CASE:$<CONFIG>>")
|
||||
endif()
|
||||
|
||||
if (MACOS_BUNDLE)
|
||||
set_property(TARGET CemuBin PROPERTY MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/resource/MacOSXBundleInfo.plist.in")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user