Add picture of grzeg

This commit is contained in:
Oystein Kristoffer Tveit 2024-10-20 00:05:30 +02:00
parent 5e3df86a2a
commit 4f76c44cc0
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 2 additions and 0 deletions

BIN
assets/the_man.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

View File

@ -9,6 +9,8 @@ use crate::MpvConnectionArgs;
const DEFAULT_MPV_CONFIG_CONTENT: &str = include_str!("../assets/default-mpv.conf"); const DEFAULT_MPV_CONFIG_CONTENT: &str = include_str!("../assets/default-mpv.conf");
const THE_MAN_PNG: &[u8] = include_bytes!("../assets/the_man.png");
pub fn create_mpv_config_file(args_config_file: Option<String>) -> anyhow::Result<NamedTempFile> { pub fn create_mpv_config_file(args_config_file: Option<String>) -> anyhow::Result<NamedTempFile> {
let file_content = if let Some(path) = args_config_file { let file_content = if let Some(path) = args_config_file {
if !Path::new(&path).exists() { if !Path::new(&path).exists() {