forked from koniifer/ableos
added wallpaper for bootloader
This commit is contained in:
parent
c241d839f2
commit
b5f75a13f4
BIN
repbuild/background.bmp
Normal file
BIN
repbuild/background.bmp
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
|
@ -1,13 +1,12 @@
|
||||||
${ABLEOS_KERNEL}=boot:///kernel
|
${ABLEOS_KERNEL}=boot:///kernel
|
||||||
# TODO: Make a boot background image for ableOS
|
# TODO: Make a boot background image for ableOS
|
||||||
# ${WALLPAPER_PATH}=boot:///boot/bg.bmp
|
|
||||||
|
|
||||||
DEFAULT_ENTRY=1
|
DEFAULT_ENTRY=1
|
||||||
TIMEOUT=3
|
TIMEOUT=3
|
||||||
VERBOSE=yes
|
VERBOSE=yes
|
||||||
INTERFACE_RESOLUTION=800x600
|
INTERFACE_RESOLUTION=800x600
|
||||||
# Terminal related settings
|
# Terminal related settings
|
||||||
# TERM_WALLPAPER=${WALLPAPER_PATH}
|
TERM_WALLPAPER=boot:///background.bmp
|
||||||
TERM_BACKDROP=008080
|
TERM_BACKDROP=008080
|
||||||
|
|
||||||
:ableOS
|
:ableOS
|
||||||
|
|
|
@ -76,6 +76,11 @@ fn get_fs() -> Result<FileSystem<impl ReadWriteSeek>, io::Error> {
|
||||||
&mut fs.root_dir().create_file("limine.cfg")?,
|
&mut fs.root_dir().create_file("limine.cfg")?,
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
|
io::copy(
|
||||||
|
&mut File::open(Path::new("repbuild/background.bmp"))?,
|
||||||
|
&mut fs.root_dir().create_file("background.bmp")?,
|
||||||
|
)?;
|
||||||
|
|
||||||
drop(bootdir);
|
drop(bootdir);
|
||||||
Ok(fs)
|
Ok(fs)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue