-#!/bin/bash
+#!/usr/bin/env bash
#
# This script can make a customized bootable image of Windows PE.
#
script_name="$(basename $0)"
PREFIX_REG="::"
+WIMLIB_VERSION=1.2.2
calc_columns () {
STAT_COL=80
}
version() {
- echo "$script_name (wimlib 0.4.8)"
+ echo "$script_name (wimlib $WIMLIB_VERSION)"
exit 0
}
wim="$windows_dir/sources/boot.wim"
stat_busy "Exporting image from \"$wim\""
imagex export "$windows_dir"/sources/boot.wim 2 \
- --compress --boot "$boot_wim" || stat_fail
+ --boot "$boot_wim" || stat_fail
stat_done
fi
else