From 20c0be0df671abbad7ca3439ef9544f42b742f97 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 12 Oct 2021 11:23:36 +0400 Subject: [PATCH] Use python from a correct folder. --- Telegram/build/prepare/prepare.py | 2 +- docs/building-win-x64.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index 0d4aeecf1..78be41ef2 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -57,7 +57,7 @@ if not os.path.isdir(thirdPartyDir + '/' + keysLoc): pathPrefixes = [ 'ThirdParty\\Strawberry\\perl\\bin', - 'ThirdParty\\Python27', + 'ThirdParty\\Python39', 'ThirdParty\\NASM', 'ThirdParty\\jom', 'ThirdParty\\cmake\\bin', diff --git a/docs/building-win-x64.md b/docs/building-win-x64.md index 37d1bfd80..734d0aded 100644 --- a/docs/building-win-x64.md +++ b/docs/building-win-x64.md @@ -23,7 +23,7 @@ You will require **api_id** and **api_hash** to access the Telegram API servers. * Download **Yasm** executable from [http://yasm.tortall.net/Download.html](http://yasm.tortall.net/Download.html), rename to *yasm.exe* and put to ***BuildPath*\\ThirdParty\\yasm** * Download **MSYS2** installer from [http://www.msys2.org/](http://www.msys2.org/) and install to ***BuildPath*\\ThirdParty\\msys64** * Download **jom** archive from [http://download.qt.io/official_releases/jom/jom.zip](http://download.qt.io/official_releases/jom/jom.zip) and unpack to ***BuildPath*\\ThirdParty\\jom** -* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python27** +* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** * Download **CMake** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake** * Download **Ninja** executable from [https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-win.zip](https://github.com/ninja-build/ninja/releases/download/v1.7.2/ninja-win.zip) and unpack to ***BuildPath*\\ThirdParty\\Ninja** * Download **Git** installer from [https://git-scm.com/download/win](https://git-scm.com/download/win) and install it.