Update
This commit is contained in:
parent
b48ee1939e
commit
4ceaba23ed
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
git add . && git commit -m "Update"
|
||||||
|
git push
|
||||||
|
|
||||||
|
echo "Ready"
|
|
@ -522,7 +522,7 @@ fn main() {
|
||||||
term.set_text_color(Color::Gray0);
|
term.set_text_color(Color::Gray0);
|
||||||
term.set_redraw_style(RedrawStyle::PerWrite);
|
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
|
// Получает итератор, который возвращает Option
|
||||||
for line in lines {
|
for line in lines {
|
||||||
if let Ok(text_string) = line {
|
if let Ok(text_string) = line {
|
||||||
|
|
Loading…
Reference in New Issue