This commit is contained in:
Valeria Fadeeva 2025-01-23 16:39:06 +05:00
parent b48ee1939e
commit 4ceaba23ed
4 changed files with 10 additions and 1 deletions

3
make.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cargo build --release

6
push.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
git add . && git commit -m "Update"
git push
echo "Ready"

View File

@ -522,7 +522,7 @@ fn main() {
term.set_text_color(Color::Gray0);
term.set_redraw_style(RedrawStyle::PerWrite);
if let Ok(lines) = read_lines("text.txt") {
if let Ok(lines) = read_lines("/usr/share/melawy-linux-welcome/assets/text/about.txt") {
// Получает итератор, который возвращает Option
for line in lines {
if let Ok(text_string) = line {