From db11ca69fa644fd916fddae3522091e94a433314 Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 7 Mar 2018 13:50:21 +0300 Subject: [PATCH] Improve README.md. GitOrigin-RevId: becea2ac5c35272e32828082ba0345550de7a406 --- README.md | 6 +++--- example/uwp/build.ps1 | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f3cb94c9..65ae0ace 100644 --- a/README.md +++ b/README.md @@ -74,11 +74,11 @@ cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ .. #### Windows -* Download and install [gperf](https://sourceforge.net/projects/gnuwin32/files/gperf/3.0.1/). Add the path to gperf to the PATH environment variable. +* Download and install [gperf](https://sourceforge.net/projects/gnuwin32/files/gperf/3.0.1/). Add the path to gperf.exe to the PATH environment variable. * Install [vcpkg](https://github.com/Microsoft/vcpkg#quick-start). -* Run the following commands: +* Run the following commands to install `TDLib` dependencies using vcpkg: ``` -C:\src\vcpkg> .\vcpkg install openssl zlib +C:\src\vcpkg> .\vcpkg install openssl:x64-windows openssl:x86-windows zlib:x64-windows zlib:x86-windows ``` * Build `TDLib` with CMake as explained in [building](#building), but instead of `cmake -DCMAKE_BUILD_TYPE=Release ..` use ``` diff --git a/example/uwp/build.ps1 b/example/uwp/build.ps1 index da6e0ba7..a106d0e0 100644 --- a/example/uwp/build.ps1 +++ b/example/uwp/build.ps1 @@ -18,11 +18,11 @@ $td_root = Resolve-Path "../.." function CheckLastExitCode { if ($LastExitCode -ne 0) { - $msg = @" + $msg = @" EXE RETURNED EXIT CODE $LastExitCode CALLSTACK:$(Get-PSCallStack | Out-String) "@ - throw $msg + throw $msg } } @@ -140,4 +140,3 @@ function run { } run -