Skip to content

Commit

Permalink
macos: install missing wx locales
Browse files Browse the repository at this point in the history
This is a workaround.
  • Loading branch information
bk138 committed Nov 14, 2024
1 parent eb79a6a commit 541d92a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions macos/build-sign-validate-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
exit 1
}

# workaround until we're installing the whole framework https://github.com/bk138/multivnc/issues/244
[ -z "$WX_LOCALES_PATH" ] && {
echo "Please set WX_LOCALES_PATH env var."
exit 1
}

set -e

echo
Expand All @@ -30,6 +36,10 @@ cd build-dir
MACOSX_DEPLOYMENT_TARGET=10.15 cmake ../.. -DCMAKE_BUILD_TYPE=Release
make -j
cmake --install . --prefix .
# workaround until we're installing the whole framework https://github.com/bk138/multivnc/issues/244
cp $WX_LOCALES_PATH/de/LC_MESSAGES/wxstd-3.2.mo MultiVNC.app/Contents/Resources/de.lproj/
cp $WX_LOCALES_PATH/es/LC_MESSAGES/wxstd-3.2.mo MultiVNC.app/Contents/Resources/es.lproj/
cp $WX_LOCALES_PATH/sv/LC_MESSAGES/wxstd-3.2.mo MultiVNC.app/Contents/Resources/sv.lproj/

echo
echo "Sign embedded libs"
Expand Down

0 comments on commit 541d92a

Please sign in to comment.