fix paths

This commit is contained in:
2026-06-05 23:55:08 +04:00
parent a69a7fcfeb
commit d8f2997e59
+2 -1
View File
@@ -32,7 +32,7 @@ impl App {
mut self,
terminal: &mut Terminal<CrosstermBackend<io::Stdout>>,
) -> color_eyre::Result<()> {
let project_root = Path::new("/home/nikkuss/dotfiles-new");
let project_root = std::env::current_dir()?;
self.events.send(AppEvent::LoadManifest);
while self.running {
@@ -51,6 +51,7 @@ impl App {
AppEvent::LoadManifest => {
if !self.isloadingmanifest {
let tx = self.events.clone_sender();
let project_root = project_root.clone();
tokio::spawn(async move {
let result = load_manifest(&project_root).await;
let _ = tx.send(Event::App(AppEvent::ManifestLoaded(result)));