aihezu 1.8.0 → 1.8.1
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/bin/ccinstall.js +2 -2
- package/package.json +1 -1
package/bin/ccinstall.js
CHANGED
|
@@ -412,8 +412,8 @@ async function main() {
|
|
|
412
412
|
console.log(' 4. 修改 hosts 文件');
|
|
413
413
|
}
|
|
414
414
|
|
|
415
|
-
const confirmAnswer = await askQuestion(rl, '\n是否继续?(y
|
|
416
|
-
if (
|
|
415
|
+
const confirmAnswer = await askQuestion(rl, '\n是否继续?(直接回车或输入 y 继续,输入 n 取消): ');
|
|
416
|
+
if (['n', 'no'].includes(confirmAnswer.toLowerCase())) {
|
|
417
417
|
console.log('❌ 已取消配置');
|
|
418
418
|
process.exit(0);
|
|
419
419
|
}
|