From 526d9d1bf8ccb60bab8e6377c2dbb0045f527d25 Mon Sep 17 00:00:00 2001 From: Abs62 Date: Mon, 2 May 2016 14:11:56 +0300 Subject: [PATCH] Mac-specific: Copy 64-bit OpenCC data into GoldenDict bundle by default (issue #694) --- goldendict.pro | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/goldendict.pro b/goldendict.pro index 9ba9e69f..5e932fd4 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -229,14 +229,14 @@ mac { CONFIG += zim_support !CONFIG( no_chinese_conversion_support ) { CONFIG += chinese_conversion_support - CONFIG( x86_64 ) { - QMAKE_POST_LINK += & mkdir -p GoldenDict.app/Contents/MacOS/opencc & \ - cp -R $${PWD}/opencc/x64/*.json GoldenDict.app/Contents/MacOS/opencc/ & \ - cp -R $${PWD}/opencc/x64/*.ocd GoldenDict.app/Contents/MacOS/opencc/ - } else { + CONFIG( x86 ) { QMAKE_POST_LINK += & mkdir -p GoldenDict.app/Contents/MacOS/opencc & \ cp -R $${PWD}/opencc/*.json GoldenDict.app/Contents/MacOS/opencc/ & \ cp -R $${PWD}/opencc/*.ocd GoldenDict.app/Contents/MacOS/opencc/ + } else { + QMAKE_POST_LINK += & mkdir -p GoldenDict.app/Contents/MacOS/opencc & \ + cp -R $${PWD}/opencc/x64/*.json GoldenDict.app/Contents/MacOS/opencc/ & \ + cp -R $${PWD}/opencc/x64/*.ocd GoldenDict.app/Contents/MacOS/opencc/ } } }