绑定设备+覆盖模式+控制显示bug+在线更新
This commit is contained in:
12
fix_json.ps1
Normal file
12
fix_json.ps1
Normal file
@@ -0,0 +1,12 @@
|
||||
$zhPath = 'C:\Users\jsmbz\Documents\flutter-app-02\assets\languages\zh-CN.json'
|
||||
$enPath = 'C:\Users\jsmbz\Documents\flutter-app-02\assets\languages\en-US.json'
|
||||
|
||||
$zhContent = [System.IO.File]::ReadAllText($zhPath)
|
||||
$zhContent = $zhContent.Replace('"bow_mode": "弓字模式"', '"bow_mode": "覆盖模式"')
|
||||
[System.IO.File]::WriteAllText($zhPath, $zhContent)
|
||||
|
||||
$enContent = [System.IO.File]::ReadAllText($enPath)
|
||||
$enContent = $enContent.Replace('"bow_mode": "Bow Mode"', '"bow_mode": "Coverage Mode"')
|
||||
[System.IO.File]::WriteAllText($enPath, $enContent)
|
||||
|
||||
Write-Host "Done!"
|
||||
Reference in New Issue
Block a user