Added debian logo

This commit is contained in:
Thomas Forgione 2019-12-12 11:48:51 +01:00
parent 36a6ec1e12
commit ce15d374fb
No known key found for this signature in database
GPG Key ID: BFD17A2D71B3B5E7
3 changed files with 20 additions and 0 deletions

View File

@ -34,6 +34,7 @@ impl Os {
match self { match self {
Os::ArchLinux => logos::archlinux::ASCII_LOGO, Os::ArchLinux => logos::archlinux::ASCII_LOGO,
Os::Ubuntu => logos::ubuntu::ASCII_LOGO, Os::Ubuntu => logos::ubuntu::ASCII_LOGO,
Os::Debian => logos::debian::ASCII_LOGO,
_ => unimplemented!(), _ => unimplemented!(),
} }
} }
@ -50,6 +51,7 @@ impl Os {
match self { match self {
Os::ArchLinux => "\x1B[36;1m", Os::ArchLinux => "\x1B[36;1m",
Os::Ubuntu => "\x1B[31;1m", Os::Ubuntu => "\x1B[31;1m",
Os::Debian => "\x1B[31;1m",
_ => unimplemented!(), _ => unimplemented!(),
} }
} }

17
src/logos/debian.rs Normal file
View File

@ -0,0 +1,17 @@
pub const ASCII_LOGO: &'static str = " \x1B[1m_,met$$$$$gg._\x1B[0m \
\n \x1B[1m,g$$$$$$$$$$$$$$$P.\x1B[0m \
\n \x1B[1m,g$$P\"\"\x1B[0m \x1B[1m\"\"\"Y$$.\".\x1B[0m \
\n \x1B[1m,$$P'\x1B[0m \x1B[1m`$$$.\x1B[0m \
\n \x1B[1m',$$P\x1B[0m \x1B[1m,ggs.\x1B[0m \x1B[1m`$$b:\x1B[0m \
\n \x1B[1m`d$$'\x1B[0m \x1B[1m,$P\"\'\x1B[0m \x1B[31;1m.\x1B[0m \x1B[1m$$$\x1B[0m \
\n \x1B[1m$$P\x1B[0m \x1B[1md$\'\x1B[0m \x1B[31;1m,\x1B[0m \x1B[1m$$P\x1B[0m \
\n \x1B[1m$$:\x1B[0m \x1B[1m$$.\x1B[0m \x1B[31;1m-\x1B[0m \x1B[1m,d$$'\x1B[0m \
\n \x1B[1m$$;\x1B[0m \x1B[1mY$b._\x1B[0m _\x1B[1m,d$P'\x1B[0m \
\n \x1B[1mY$$.\x1B[0m \x1B[31;1m`.\x1B[0;1m`\"Y$$$$P\"'\x1B[0m \
\n \x1B[1m`$$b\x1B[0m \x1B[31;1m\"-.__\x1B[0m \
\n \x1B[1m`Y$$\x1B[0m \
\n \x1B[1m`Y$$.\x1B[0m \
\n \x1B[1m`$$b.\x1B[0m \
\n \x1B[1m`Y$$b.\x1B[0m \
\n \x1B[1m`\"Y$b._\x1B[0m \
\n \x1B[1m`\"\"\"\"\x1B[0m ";

View File

@ -1,2 +1,3 @@
pub mod archlinux; pub mod archlinux;
pub mod ubuntu; pub mod ubuntu;
pub mod debian;