Merge pull request #1898 from ACAVJW4H/patch-1
Fix for builds where locale can't be set easily
This commit is contained in:
commit
cd1090efea
2
build.py
2
build.py
@ -17,7 +17,7 @@ flutter_win_target_dir = 'flutter/build/windows/runner/Release/'
|
|||||||
|
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
with open("Cargo.toml") as fh:
|
with open("Cargo.toml", encoding="utf-8") as fh:
|
||||||
for line in fh:
|
for line in fh:
|
||||||
if line.startswith("version"):
|
if line.startswith("version"):
|
||||||
return line.replace("version", "").replace("=", "").replace('"', '').strip()
|
return line.replace("version", "").replace("=", "").replace('"', '').strip()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user