Captures project architecture, script flow, technical details, code quality notes, and full git history context. https://claude.ai/code/session_01MEXmJwm3dYRT28i9Kzpvae
2.1 KiB
2.1 KiB
CLAUDE.md - Project Memories
Project Overview
- What: Bash installer script (
DR_MINT.sh) for DaVinci Resolve on Linux Mint 22 - Repo:
28allday/DaVinci-Resolve-Linux-Mint - Owner: 28allday
- License: As-is (no formal license)
Architecture
- Single bash script (
DR_MINT.sh) — no other source files - Script must be run with
sudo; useslogname/SUDO_USERto resolve the real user - Installs to
/opt/resolve - Expects DaVinci Resolve ZIP in
~/Downloads/
Script Flow (DR_MINT.sh)
- Installs FUSE libraries (
fuse,libfuse2) - Installs Qt5 libraries (extensive list for UI support)
- Finds and extracts DaVinci Resolve ZIP from ~/Downloads/
- Runs
.runinstaller with FUSE; falls back to--appimage-extractif FUSE fails - Resolves library conflicts (moves bundled
libgio/libgmoduletonot_used/, copies systemlibglib-2.0.so.0) - Cleans up temp extraction directory
Key Technical Details
- Uses
set -eo pipefailfor strict error handling SKIP_PACKAGE_CHECK=1bypasses Resolve's distro check (it only officially supports CentOS/RHEL)- Qt env vars (
QT_QPA_PLATFORM_PLUGIN_PATH,QT_PLUGIN_PATH,LD_LIBRARY_PATH) are set for installer GUI - Library conflict: Resolve bundles old glib/gio that clash with Mint's newer system versions
- Does NOT touch bundled
libc++/libc++abi— C++ ABI dependencies would break
Code Quality
- Script has been through shellcheck review (PR #1)
- Fixes applied: pipefail added, privilege check fixed (
id -uinstead ofwhoami), glob safety forlibgio*/libgmodule*patterns - Comments are detailed and comprehensive
Git History
ca4438d— Initial commita6b1472— Added detailed comments and README024cb07— Fixed security/robustness issues (shellcheck)89b1d08— Added video guide to README987db8f— Fixed pipefail, privilege check, glob safety (PR #1)a8b494f— Merged PR #1
README
- Includes embedded YouTube video thumbnail linking to guide
- Comprehensive: requirements, quick start, what-it-does tables, troubleshooting, uninstall instructions