mirror of https://github.com/E-Almqvist/eOS
parent
54c7144a92
commit
e6f439748c
@ -1,2 +1,13 @@ |
|||||||
#!/usr/bin/bash |
#!/usr/bin/bash |
||||||
qemu-system-x86_64 bin/bootloader.bin |
|
||||||
|
bootloader=bin/bootloader.bin |
||||||
|
|
||||||
|
start_bootloader() { |
||||||
|
qemu-system-x86_64 $bootloader |
||||||
|
} |
||||||
|
|
||||||
|
if test -f "$PWD/$bootloader" then |
||||||
|
start_bootloader |
||||||
|
else |
||||||
|
/usr/bin/bash $PWD/compile.sh && start_bootloader |
||||||
|
fi |
||||||
|
Loading…
Reference in new issue