Compare commits

..

9 Commits

Author SHA1 Message Date
0592789fbf core: 日志显示使用缓冲区,避免卡顿 2025-10-31 00:19:47 +08:00
2d970ac458 core: 不重要的优化 2025-10-31 00:19:46 +08:00
cb9e413aa4 windows: 调整 intel nic 驱动
win7: 统一使用 25.0,即使镜像不支持 sha256,因为官网下架了旧版本驱动
win10: 不再固定版本,而是从网页获取最新版
2025-10-31 00:19:45 +08:00
acb069b696 windows: 优化镜像查找 2025-10-31 00:19:45 +08:00
ef78438f9e core: --frpc-toml 允许使用 http 链接 2025-10-31 00:19:44 +08:00
944282079c core: alpine initrd 使用 udhcpc
dhcpcd 会配置租约时间,过期会移除 IP,但我们的没有在后台运行 dhcpcd ,因此用 udhcpc
2025-10-31 00:19:43 +08:00
889f0de3b6 core: 默认使用随机密码 2025-10-31 00:19:43 +08:00
f7104cc6af windows: 从注册表读取系统版本号
windows 10 22h2 版本号是 19045
但 exe 版本号是 19041
2025-10-31 00:19:42 +08:00
798539d272 debian: 支持在安装过程中开启 ssh 2025-10-31 00:19:42 +08:00

View File

@ -1868,11 +1868,8 @@ add_frpc_systemd_service_if_need() {
# 下载 frpc
# 注意下载的 frpc owner 不是 root:root
frpc_url=$(get_frpc_url linux)
basename=$(echo "$frpc_url" | awk -F/ '{print $NF}' | sed 's/\.tar\.gz//')
download "$frpc_url" "$os_dir/frpc.tar.gz"
# busybox tar 不支持 wildcard
# tar: */frpc: not found in archive
tar xzf "$os_dir/frpc.tar.gz" "$basename/frpc" -O >"$os_dir/usr/local/bin/frpc"
tar xzf "$os_dir/frpc.tar.gz" "*/frpc" -O >"$os_dir/usr/local/bin/frpc"
rm -f "$os_dir/frpc.tar.gz"
chmod a+x "$os_dir/usr/local/bin/frpc"