diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index 8b3edd0764..580943cd8f 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -62,7 +62,6 @@ if not os.path.isdir(os.path.join(thirdPartyDir, keysLoc)): pathPrefixes = [ 'ThirdParty\\msys64\\mingw64\\bin', - 'ThirdParty\\Python39', 'ThirdParty\\jom', 'ThirdParty\\cmake\\bin', 'ThirdParty\\gyp', @@ -397,7 +396,7 @@ if customRunCommand: stage('patches', """ git clone https://github.com/desktop-app/patches.git cd patches - git checkout 38af8ef4c6 + git checkout b14854c6f6 """) stage('msys64', """ @@ -443,7 +442,7 @@ if not mac or 'build-stackwalk' in options: win: git clone https://chromium.googlesource.com/external/gyp cd gyp - git checkout d6c5dd51dc + git checkout 9d09418933 depends:patches/gyp.diff git apply $LIBS_DIR/patches/gyp.diff mac: diff --git a/docs/building-win-x64.md b/docs/building-win-x64.md index 41fc10eb7c..23d0f1d809 100644 --- a/docs/building-win-x64.md +++ b/docs/building-win-x64.md @@ -20,13 +20,13 @@ You will require **api_id** and **api_hash** to access the Telegram API servers. ## Install third party software -* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH +* Download **Python 3.10** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH * Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake** * Download **Git** installer from [https://git-scm.com/download/win](https://git-scm.com/download/win) and install it. Open **x64 Native Tools Command Prompt for VS 2022.bat**, go to ***BuildPath*** and run - python -m pip install pywin32 + python -m pip install pywin32 six ## Clone source code and prepare libraries diff --git a/docs/building-win.md b/docs/building-win.md index 5b2bef2df2..41ae9b50bb 100644 --- a/docs/building-win.md +++ b/docs/building-win.md @@ -20,13 +20,13 @@ You will require **api_id** and **api_hash** to access the Telegram API servers. ## Install third party software -* Download **Python 3.9** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH +* Download **Python 3.10** installer from [https://www.python.org/downloads/](https://www.python.org/downloads/) and install to ***BuildPath*\\ThirdParty\\Python39** with adding to PATH * Download **CMake 3.21 or later** installer from [https://cmake.org/download/](https://cmake.org/download/) and install to ***BuildPath*\\ThirdParty\\cmake** * Download **Git** installer from [https://git-scm.com/download/win](https://git-scm.com/download/win) and install it. Open **x86 Native Tools Command Prompt for VS 2022.bat**, go to ***BuildPath*** and run - python -m pip install pywin32 + python -m pip install pywin32 six ## Clone source code and prepare libraries