From 12252ef1aaa8b397be18255d1b209db27720cf8f Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 25 Sep 2021 22:39:49 +0400 Subject: [PATCH] One more attempt of OpenGL context loss crash fix. --- Telegram/build/prepare/prepare.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index bcd6aaedc4..0bf140a94f 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -379,7 +379,7 @@ def runStages(): stage('patches', """ git clone https://github.com/desktop-app/patches.git cd patches - git checkout 52e847920f + git checkout 97eee9f4e5 """) stage('depot_tools', """ @@ -812,6 +812,7 @@ win: release: SET CONFIGURATIONS=-debug-and-release win: + """ + removeDir("\"%LIBS_DIR%\\Qt-5.15.2\"") + """ SET ANGLE_DIR=%LIBS_DIR%\\tg_angle SET ANGLE_LIBS_DIR=%ANGLE_DIR%\\out SET MOZJPEG_DIR=%LIBS_DIR%\\mozjpeg