From e0ca13b55099c1e673c619665f4c5752b81bb238 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 7 Nov 2015 15:56:47 +0100 Subject: [PATCH] Added: Steam OS X script installscript_osx.vdf --- .../ryzom/client/macosx/installscript_osx.vdf | 21 +++++++++++++++++++ code/ryzom/client/src/CMakeLists.txt | 1 + 2 files changed, 22 insertions(+) create mode 100644 code/ryzom/client/macosx/installscript_osx.vdf diff --git a/code/ryzom/client/macosx/installscript_osx.vdf b/code/ryzom/client/macosx/installscript_osx.vdf new file mode 100644 index 000000000..4eeace98b --- /dev/null +++ b/code/ryzom/client/macosx/installscript_osx.vdf @@ -0,0 +1,21 @@ +"Installscript" +{ + "version" "2" + "symlink" + { + "0" + { + "link" "Ryzom.app/Contents/Resources/data" + "target" "../../../data" + } + } + "chmod" + { + "0" + { + "file" "Ryzom.app/Contents/MacOS/Ryzom" + "mode" "755" + } + } +} + diff --git a/code/ryzom/client/src/CMakeLists.txt b/code/ryzom/client/src/CMakeLists.txt index ccfa52620..9c9724383 100644 --- a/code/ryzom/client/src/CMakeLists.txt +++ b/code/ryzom/client/src/CMakeLists.txt @@ -82,6 +82,7 @@ IF(APPLE) ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${MAC_RESOURCES_DIR}/PkgInfo ${RYZOM_CONTENTS_DIR}) ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${MAC_RESOURCES_DIR}/ryzom.icns ${RYZOM_RESOURCES_DIR}) ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${CMAKE_SOURCE_DIR}/ryzom/client/client_default.cfg ${RYZOM_RESOURCES_DIR}) + ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -p ${MAC_RESOURCES_DIR}/installscript_osx.vdf ${RYZOM_OUTPUT_DIR}) IF(RYZOM_DATA_DIR) ADD_CUSTOM_COMMAND(TARGET ryzom_client POST_BUILD COMMAND cp ARGS -RpX ${RYZOM_DATA_DIR} ${RYZOM_RESOURCES_DIR})