chore: 迁移项目路径 C:\NeoZQYY → C:\Project\NeoZQYY
开发环境从旧虚拟机 (DESKTOP-KGB0K5G) 迁移到新机器 (DESKTOP-D676QDA), 项目目录从 C:\NeoZQYY 变更为 C:\Project\NeoZQYY, 批量替换 126 个文件中的绝对路径引用。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1038
tmp/20260319error.md
1038
tmp/20260319error.md
File diff suppressed because it is too large
Load Diff
448
tmp/LOG1.txt
448
tmp/LOG1.txt
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
||||
$f = 'c:/NeoZQYY/apps/miniprogram/miniprogram/pages/performance-records/performance-records.ts'
|
||||
$f = 'c:/Project/NeoZQYY/apps/miniprogram/miniprogram/pages/performance-records/performance-records.ts'
|
||||
$c = [System.IO.File]::ReadAllText($f, [System.Text.Encoding]::UTF8)
|
||||
$c = $c.Replace(" totalHours: '0h',`r`n totalIncome: '¥0',", " totalHours: '0h',`r`n totalHoursRaw: '0h',`r`n totalIncome: '¥0',")
|
||||
$c = $c.Replace(" totalHours: '59.0h',`r`n totalIncome: '¥4,720',", " totalHours: '59.0h',`r`n totalHoursRaw: '60.5h',`r`n totalIncome: '¥4,720',")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
path = r'c:/NeoZQYY/apps/miniprogram/miniprogram/pages/performance-records/performance-records.ts'
|
||||
path = r'c:/Project/NeoZQYY/apps/miniprogram/miniprogram/pages/performance-records/performance-records.ts'
|
||||
with open(path, 'rb') as f:
|
||||
content = f.read().decode('utf-8')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user