added wallpaper for bootloader

memory-manager
ondra05 2023-01-07 23:44:50 +01:00
parent 537291882e
commit 9249ba6fdb
No known key found for this signature in database
GPG Key ID: 110E9A6F7CBA6712
3 changed files with 6 additions and 2 deletions

BIN
repbuild/background.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@ -1,13 +1,12 @@
${ABLEOS_KERNEL}=boot:///kernel
# TODO: Make a boot background image for ableOS
# ${WALLPAPER_PATH}=boot:///boot/bg.bmp
DEFAULT_ENTRY=1
TIMEOUT=3
VERBOSE=yes
INTERFACE_RESOLUTION=800x600
# Terminal related settings
# TERM_WALLPAPER=${WALLPAPER_PATH}
TERM_WALLPAPER=boot:///background.bmp
TERM_BACKDROP=008080
:ableOS

View File

@ -76,6 +76,11 @@ fn get_fs() -> Result<FileSystem<impl ReadWriteSeek>, io::Error> {
&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);
Ok(fs)
}