mirror of
https://github.com/yuaotian/go-cursor-help.git
synced 2026-03-07 22:33:39 +00:00
fix: Improve error messages for Linux and Mac ID modifier scripts
- Updated error messages in Linux script to include specific package installation commands - Enhanced Mac script's UUID modification prompt with better formatting and color - Added spacing to improve readability of user prompts
This commit is contained in:
@@ -180,12 +180,12 @@ generate_uuid() {
|
||||
generate_new_config() {
|
||||
# 错误处理
|
||||
if ! command -v xxd &> /dev/null; then
|
||||
log_error "未找到 xxd 命令,请安装 xxd"
|
||||
log_error "未找到 xxd 命令,请安装 xxd,使用 apt-get install xxd"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! command -v uuidgen &> /dev/null; then
|
||||
log_error "未找到 uuidgen 命令,请安装 uuidgen"
|
||||
log_error "未找到 uuidgen 命令,请安装 uuidgen,使用 apt-get install uuid-runtime"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user