windows: 没必要优化 install.wim

This commit is contained in:
bin456789 2024-11-09 22:50:51 +08:00
parent 7ab1c45427
commit bf801b407e
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -4189,7 +4189,7 @@ install_windows() {
# 优点: 可以节省 200M~600M 空间,用来创建虚拟内存
# (意义不大,因为已经删除了 boot.wim 用来创建虚拟内存vista 除外)
# 缺点: 如果 install.wim 只有一个镜像,则只能缩小 10M+
if true; then
if false; then
time wimexport --threads "$(get_build_threads 512)" "$iso_install_wim" "$image_name" "$install_wim"
info "install.wim size"
echo "Original: $(get_filesize_mb "$iso_install_wim")"