From 08b67e383e388c5ac17b139e01d666a388642333 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Mon, 10 Aug 2020 18:10:42 +0400 Subject: [PATCH] Add -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF to docs & actions --- .github/workflows/linux.yml | 1 + .github/workflows/mac.yml | 6 +++++- .github/workflows/win.yml | 1 + docs/building-cmake.md | 2 +- docs/building-msvc.md | 2 +- docs/building-osx.md | 2 +- 6 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 931a88c29..18e05c02d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -530,6 +530,7 @@ jobs: -D CMAKE_CXX_FLAGS="-s" \ -D TDESKTOP_API_TEST=ON \ -D DESKTOP_APP_USE_PACKAGED=OFF \ + -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \ $DEFINE cd ../out/Debug diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index ea6c9bd04..ebce645fa 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -462,7 +462,11 @@ jobs: echo ::set-env name=ARTIFACT_NAME::Telegram fi - ./configure.sh -D TDESKTOP_API_TEST=ON -D DESKTOP_APP_USE_PACKAGED=OFF $DEFINE + ./configure.sh \ + -D TDESKTOP_API_TEST=ON \ + -D DESKTOP_APP_USE_PACKAGED=OFF \ + -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF \ + $DEFINE cd ../out diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 922b115cc..aaf1ba4a4 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -365,6 +365,7 @@ jobs: call configure.bat ^ -D TDESKTOP_API_TEST=ON ^ -D DESKTOP_APP_USE_PACKAGED=OFF ^ + -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF ^ %TDESKTOP_BUILD_DEFINE% ^ -DCMAKE_SYSTEM_VERSION=%SDK% diff --git a/docs/building-cmake.md b/docs/building-cmake.md index 7cd86d029..27bf7d047 100644 --- a/docs/building-cmake.md +++ b/docs/building-cmake.md @@ -301,7 +301,7 @@ Go to ***BuildPath*** and run Go to ***BuildPath*/tdesktop/Telegram** and run (using [your **api_id** and **api_hash**](#obtain-your-api-credentials)) - ./configure.sh -D TDESKTOP_API_ID=YOUR_API_ID -D TDESKTOP_API_HASH=YOUR_API_HASH -D DESKTOP_APP_USE_PACKAGED=OFF + ./configure.sh -D TDESKTOP_API_ID=YOUR_API_ID -D TDESKTOP_API_HASH=YOUR_API_HASH -D DESKTOP_APP_USE_PACKAGED=OFF -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF To make Debug version go to ***BuildPath*/tdesktop/out/Debug** and run diff --git a/docs/building-msvc.md b/docs/building-msvc.md index 67b204a8b..4b80dfe90 100644 --- a/docs/building-msvc.md +++ b/docs/building-msvc.md @@ -167,7 +167,7 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath*** Go to ***BuildPath*\\tdesktop\\Telegram** and run (using [your **api_id** and **api_hash**](#obtain-your-api-credentials)) - configure.bat -D TDESKTOP_API_ID=YOUR_API_ID -D TDESKTOP_API_HASH=YOUR_API_HASH -D DESKTOP_APP_USE_PACKAGED=OFF + configure.bat -D TDESKTOP_API_ID=YOUR_API_ID -D TDESKTOP_API_HASH=YOUR_API_HASH -D DESKTOP_APP_USE_PACKAGED=OFF -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF * Open ***BuildPath*\\tdesktop\\out\\Telegram.sln** in Visual Studio 2019 * Select Telegram project and press Build > Build Telegram (Debug and Release configurations) diff --git a/docs/building-osx.md b/docs/building-osx.md index 09e6ae4d3..f47c7de91 100644 --- a/docs/building-osx.md +++ b/docs/building-osx.md @@ -250,7 +250,7 @@ Go to ***BuildPath*** and run Go to ***BuildPath*/tdesktop/Telegram** and run (using [your **api_id** and **api_hash**](#obtain-your-api-credentials)) - ./configure.sh -D TDESKTOP_API_ID=YOUR_API_ID -D TDESKTOP_API_HASH=YOUR_API_HASH -D DESKTOP_APP_USE_PACKAGED=OFF + ./configure.sh -D TDESKTOP_API_ID=YOUR_API_ID -D TDESKTOP_API_HASH=YOUR_API_HASH -D DESKTOP_APP_USE_PACKAGED=OFF -D DESKTOP_APP_DISABLE_CRASH_REPORTS=OFF Then launch Xcode, open ***BuildPath*/tdesktop/out/Telegram.xcodeproj** and build for Debug / Release.