mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix build with various Windows locales
This commit is contained in:
@@ -1464,4 +1464,10 @@ win:
|
||||
# -Dprotobuf_WITH_ZLIB_DEFAULT=OFF
|
||||
# cmake --build . $MAKE_THREADS_CNT
|
||||
|
||||
runStages()
|
||||
if win:
|
||||
currentCodePage = subprocess.run('chcp', capture_output=True, shell=True, text=True, env=modifiedEnv).stdout.strip().split()[-1]
|
||||
subprocess.run('chcp 65001 > nul', shell=True, env=modifiedEnv)
|
||||
runStages()
|
||||
subprocess.run('chcp ' + currentCodePage + ' > nul', shell=True, env=modifiedEnv)
|
||||
else:
|
||||
runStages()
|
||||
|
||||
+1
-1
Submodule cmake updated: 4d8c8a0f84...de92292f89
Reference in New Issue
Block a user