Prepare publish (#39)

* refactor!: rename `.data` and `.log` files
   - `timr.data` -> `app.data`
   - `timr.log` -> `app.log`
* refactor!: rename app name `timr` -> `timr-tui`
* docs: update README (paths, names, installation)
* update Cargo.toml
* fix(release): warning: unused variable: `log_dir`
This commit is contained in:
Jens K.
2025-01-02 12:16:56 +01:00
committed by GitHub
parent f3a6e073e2
commit 847367f51e
7 changed files with 51 additions and 45 deletions

View File

@@ -1,6 +1,5 @@
use crate::{
common::{Content, Style},
constants::APP_NAME,
widgets::pomodoro::Mode as PomodoroMode,
};
use color_eyre::eyre::Result;
@@ -65,7 +64,7 @@ impl Storage {
}
fn get_storage_path(&self) -> PathBuf {
self.data_dir.join(format!("{}.data", APP_NAME))
self.data_dir.join("app.data")
}
pub fn save(&self, data: AppStorage) -> Result<()> {