@aiyiran/myclaw 1.0.140 → 1.0.141
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1033,6 +1033,10 @@ if (!command || command === 'help' || command === '--help' || command === '-h')
|
|
|
1033
1033
|
runUpdate();
|
|
1034
1034
|
} else if (command === 'up') {
|
|
1035
1035
|
runUpdate();
|
|
1036
|
+
// 更新后自动 patch,恢复 UI 注入和自定义配置
|
|
1037
|
+
console.log('');
|
|
1038
|
+
console.log('🔧 自动执行 patch 以恢复自定义配置...');
|
|
1039
|
+
runPatch();
|
|
1036
1040
|
if (detectPlatform() === 'windows') {
|
|
1037
1041
|
runBat();
|
|
1038
1042
|
}
|