git.lucas.co / cce-text-editor
text editor
git clone https://git.lucas.co/cce-text-editor.git

commit1fad01bb1f22dd07add760c65ecb203980a4335f
parent912b074137
authorLucas Galante <[email protected]>
date2026-06-29 21:16
refactor: adapt to cce-ui event layering and renaming changes

 src/main.rs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index 145b6b5..d0d8779 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -44,11 +44,11 @@ struct TextEditorApp {
 
 impl TextEditorApp {
     fn pick_file_to_open(&self) -> Option<std::path::PathBuf> {
-        let output = std::process::Command::new("/home/lsgalante/.local/bin/cce-filesystem-interface")
+        let output = std::process::Command::new("/home/lsgalante/.local/bin/cce-files")
             .arg("--select")
             .output()
             .or_else(|_| {
-                std::process::Command::new("cce-filesystem-interface")
+                std::process::Command::new("cce-files")
                     .arg("--select")
                     .output()
             })
@@ -65,11 +65,11 @@ impl TextEditorApp {
     }
 
     fn perform_save_as(&mut self, needs_rebuild: &mut bool) {
-        let path_opt = std::process::Command::new("/home/lsgalante/.local/bin/cce-filesystem-interface")
+        let path_opt = std::process::Command::new("/home/lsgalante/.local/bin/cce-files")
             .arg("--save")
             .output()
             .or_else(|_| {
-                std::process::Command::new("cce-filesystem-interface")
+                std::process::Command::new("cce-files")
                     .arg("--save")
                     .output()
             })