mirror of
https://github.com/dockur/windows.git
synced 2025-06-23 07:57:48 +00:00
feat: Store arguments
This commit is contained in:
parent
80c5ba2231
commit
067322f068
@ -120,6 +120,7 @@ finishInstall() {
|
||||
|
||||
rm -f "$STORAGE/windows.old"
|
||||
rm -f "$STORAGE/windows.vga"
|
||||
rm -f "$STORAGE/windows.args"
|
||||
rm -f "$STORAGE/windows.base"
|
||||
rm -f "$STORAGE/windows.boot"
|
||||
rm -f "$STORAGE/windows.mode"
|
||||
@ -965,6 +966,12 @@ bootWindows() {
|
||||
|
||||
rm -rf "$TMP"
|
||||
|
||||
if [ -s "$STORAGE/windows.args" ] && [ -f "$STORAGE/windows.args" ]; then
|
||||
local args=""
|
||||
args=$(<"$STORAGE/windows.args")
|
||||
ARGUMENTS="$args ${ARGUMENTS:-}"
|
||||
fi
|
||||
|
||||
if [ -s "$STORAGE/windows.type" ] && [ -f "$STORAGE/windows.type" ]; then
|
||||
[ -z "${DISK_TYPE:-}" ] && DISK_TYPE=$(<"$STORAGE/windows.type")
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user