mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix build with various Windows locales
This commit is contained in:
parent
efa287b786
commit
6c4dc34441
2 changed files with 8 additions and 2 deletions
|
@ -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()
|
||||
|
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
|||
Subproject commit 4d8c8a0f84f271a14666a36674d2781a2fe155a9
|
||||
Subproject commit de92292f89c48848e4350ae1a6a531309b5aca8c
|
Loading…
Add table
Reference in a new issue