win: Update version file with unix line ending
This commit is contained in:
parent
54933f992a
commit
80bea0766e
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ def create_chrome_version_h():
|
||||||
version = f.read()
|
version = f.read()
|
||||||
with open(template_file, 'r') as f:
|
with open(template_file, 'r') as f:
|
||||||
template = f.read()
|
template = f.read()
|
||||||
with open(target_file, 'w+') as f:
|
with open(target_file, 'wb+') as f:
|
||||||
content = template.replace('{PLACEHOLDER}', version.strip())
|
content = template.replace('{PLACEHOLDER}', version.strip())
|
||||||
if f.read() != content:
|
if f.read() != content:
|
||||||
f.write(content)
|
f.write(content)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue