Update cool-retro-term script

This commit is contained in:
Vincent Ollivier 2020-01-06 22:45:54 +01:00
parent 05d9c78087
commit 03e9744e67
1 changed files with 2 additions and 3 deletions

View File

@ -4,9 +4,8 @@ image="target/x86_64-moros/release/bootimage-moros.bin"
qemu="qemu-system-x86_64 -display curses -cpu max"
# Build image if needed
if [ ! -f "$dir/../$image" ]; then
cd "$dir/.." && cargo xbuild --release
fi
cd "$dir/.." && cargo bootimage --release
# Launch qemu inside cool-retro-term
cool-retro-term --fullscreen --profile "$dir/cool-retro-term.json" \
--workdir "$dir/.." -e sh -c "$qemu $image"