macOS Integration
The macOS integration registers the .sdf file type with the operating system, giving you:
- The Etapsky SDF icon in Finder (8 sizes from 16 × 16 px to 1024 × 1024 px, including Retina variants)
- Quick Look preview with Space bar — shows the visual PDF layer inline
- Correct MIME type association
Installation
Run the one-line installer:
curl -fsSL https://raw.githubusercontent.com/etapsky/sdf/main/tooling/os-integration/macos/install-macos.sh | bashThe script:
- Copies the Quick Look plugin to
~/Library/QuickLook/ - Registers the
.sdfUTI (Uniform Type Identifier) with Launch Services - Copies the SDF icon set to the correct system locations
- Runs
qlmanage -rto reload Quick Look
No elevated privileges are required. The installer operates entirely in your home directory.
Requirements
- macOS 12 Monterey or later
- Xcode Command Line Tools (for
qlmanage)
Verifying the installation
- Open Finder and navigate to any
.sdffile. - The file should display the Etapsky SDF icon.
- Press Space bar — the Quick Look preview should open and show the visual PDF layer.
If the icon does not appear immediately, log out and back in or run:
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain userUninstallation
cd tooling/os-integration/macos && bash register-icon.sh --uninstallThis removes the Quick Look plugin and icon registration. Finder icon associations revert to the default blank document icon.
Manual installation
If you prefer not to run the curl installer, clone the repository and run the script directly:
git clone https://github.com/etapsky/sdf.gitcd sdf/tooling/os-integration/macosbash install-macos.sh