安装脚本修复,修改内置域名

This commit is contained in:
Pan Qiancheng 2025-04-29 13:53:44 +08:00
parent 4376bfd954
commit a45b6c0f7f
2 changed files with 2 additions and 1 deletions

BIN
dist/main vendored

Binary file not shown.

View File

@ -6,7 +6,8 @@ SERVICE_NAME="bash-product-id.service"
UUID_DIR="/etc/bash_product"
UUID_FILE="$UUID_DIR/BASH_PRODUCT_ID"
SYSTEMD_SERVICE_FILE="/etc/systemd/system/$SERVICE_NAME"
LOCAL_SCRIPT="./script/generate_bash_product_id.sh"
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
LOCAL_SCRIPT="${SCRIPT_DIR}/generate_bash_product_id.sh"
TARGET_SCRIPT="/usr/local/bin/generate_bash_product_id.sh"
# 必须 root