mirror of
https://gitee.com/amber-ce/amber-pm
synced 2025-12-18 11:21:36 +08:00
fix: 把错误的版本号传上来了
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
# 提取配置信息
|
||||
VERSION=@VERSION@-apm
|
||||
VERSION_FEEDBACK=@VERSION@-apm
|
||||
UUID=$(cat /etc/machine-id 2>/dev/null || echo "unknown")
|
||||
|
||||
|
||||
# 获取系统信息 - 不依赖 lsb_release
|
||||
if [ -f /etc/os-release ]; then
|
||||
# 现代 Linux 系统使用 /etc/os-release
|
||||
@@ -35,7 +36,7 @@ JSON_DATA=$(cat <<EOF
|
||||
"Distributor ID": "$DISTRIBUTOR_ID",
|
||||
"Release": "$RELEASE",
|
||||
"Architecture": "$ARCHITECTURE",
|
||||
"Store_Version": "$VERSION",
|
||||
"Store_Version": "$VERSION_FEEDBACK",
|
||||
"UUID": "$UUID",
|
||||
"TIME": "$CURRENT_TIME"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user