From cb1a2011071e8063c02a34b4ada07814344c52a3 Mon Sep 17 00:00:00 2001 From: Jarian Cottingham Date: Sat, 21 Feb 2026 14:13:45 -0600 Subject: [PATCH] Fix archive file path to use user directory instead of read-only /app --- youtube_cli/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_cli/main.py b/youtube_cli/main.py index 3a1c1c6..a208c2d 100644 --- a/youtube_cli/main.py +++ b/youtube_cli/main.py @@ -24,8 +24,8 @@ class YouTubeCLI: self.config = self.load_config(config_path) self.original_query = None self.current_page = 1 - # Use a more reliable path for the archive file - self.archive_file = Path("/app/downloads") / "downloaded_videos.json" + # Use a proper user directory for the archive file + self.archive_file = Path.home() / ".config" / "youtube_cli" / "downloaded_videos.json" self.downloaded_videos = self.load_archive() def get_yt_dlp_version(self):