|
本帖最后由 AndyChen 于 2021-2-17 11:47 编辑
source $prefix/run/run.cfg
function AndyChen {run /WIN10_A_CHILD.VHDX;}
function PE {run /W10PE64.WIM;}
terminal_output gfxterm
loadfont $prefix/fonts/RobotoMonoLightItalicForPowerline.pf2
theme=$prefix/themes/elegant/theme.txt
timeout=10
default=0
menuentry "1.WIN10 OS B AUTO RESTORE" --class windows --hotkey=1 {
if search -n -s -f /VHD/CHILD.1; then
ntboot /VHD/WIN10_B_CHILD1.VHDX
elif search -n -s -f /VHD/CHILD.2; then
ntboot /VHD/WIN10_B_CHILD2.VHDX
fi
}
menuentry "2.REBOOT" --class windows --hotkey=2 {reboot;}
|
|