mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-25 20:02:17 +00:00
FIX: [STUDIO-2675] linux language switch zh_CN
Change-Id: Ifba1682b7fb402712665dad0219a84db0a23f1c3
This commit is contained in:
@@ -246,6 +246,12 @@ else ()
|
||||
COMMAND ln -sfn "${SLIC3R_RESOURCES_DIR}" "${BIN_RESOURCES_DIR}"
|
||||
COMMENT "Symlinking the resources directory into the build tree"
|
||||
VERBATIM)
|
||||
if (UNIX AND NOT APPLE)
|
||||
add_custom_command(TARGET BambuStudio POST_BUILD
|
||||
COMMAND ln -sfn "zh_cn" "${BIN_RESOURCES_DIR}/i18n/zh_CN"
|
||||
COMMENT "Symlinking zh_CN language setting to zh_cn"
|
||||
VERBATIM)
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
# Slic3r binary install target. Default build type is release in case no CMAKE_BUILD_TYPE is provided.
|
||||
|
||||
Reference in New Issue
Block a user