Crash handler
yarn install
set BIN_DEPENDENCIES=dependencies2019.0
ci\install-bin-deps.cmd
set AWS_SDK_VERSION="1.11.367"
ci\build-aws-sdk.cmd
ci\localization_prepare_binaries.cmd
set INSTALL_PACKAGE_PATH="../desktop/node_modules/crash-handler"
cmake -B"build" -G"Visual Studio 17 2022" -A x64 -DDepsPath="%CD%\build\deps\%BIN_DEPENDENCIES%\win64" -DBOOST_ROOT="%CD%\build\deps\boost" -DCMAKE_INSTALL_PREFIX="%INSTALL_PACKAGE_PATH%"
cmake --build "build" --target install --config RelWithDebInfo
yarn install
./ci/build-osx.sh
By default, Apple Silicon Macs will build arm64 binaries. Apple Intel-based Macs will build x86_64 binaries. You can change the behavior using the CMAKE_OSX_ARCHITECTURES environment variable.
export CMAKE_OSX_ARCHITECTURES="arm64"
- builds arm64 binariesexport CMAKE_OSX_ARCHITECTURES="x86_64"
- builds x86_64 binariesexport CMAKE_OSX_ARCHITECTURES="arm64;x86_64"
- builds universal binaries
Also, you can export CMAKE_APPLE_SILICON_PROCESSOR="x86_64"
to make an Apple Silicon Mac build x86_64 binaries.
Boost.locale lib with a gettext format used for a localization(on windows). mo files included in exe by windows resources.
ci\localization_prepare_binaries.cmd
- prepares mo files with current translation
ci\generate_new_translations.cmd
- update po files with current strings from source code
- Add new lang code into
ci\localization_get_tools.cmd
and runci\generate_new_translations.cmd
- Translate lines inside
locale\NEW_LANG\LC_MESSAGES\messages.po
- Add new mo file to
resources\slobs-updater.rc
- Add it to
locales_resources
map insideget_messages_callback()
- Prepare binaries
ci\localization_prepare_binaries.cmd
- Make a new build
- Do not forget to commit
locale\NEW_LANG\LC_MESSAGES\messages.po