diff --git a/repbuild/background.bmp b/repbuild/background.bmp new file mode 100644 index 0000000..2e112cf Binary files /dev/null and b/repbuild/background.bmp differ diff --git a/repbuild/limine.cfg b/repbuild/limine.cfg index 27ff2b9..ee4ff83 100644 --- a/repbuild/limine.cfg +++ b/repbuild/limine.cfg @@ -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 diff --git a/repbuild/src/main.rs b/repbuild/src/main.rs index c218942..5b0ca4f 100644 --- a/repbuild/src/main.rs +++ b/repbuild/src/main.rs @@ -76,6 +76,11 @@ fn get_fs() -> Result, 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) }