SquirrelDisk includes an automatic updater that keeps your application up-to-date with the latest features and bug fixes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/adileo/squirreldisk/llms.txt
Use this file to discover all available pages before exploring further.
Tauri’s Built-in Updater
SquirrelDisk uses Tauri’s built-in updater feature, which provides:- Secure updates with cryptographic signature verification
- Cross-platform support (Windows, macOS, Linux)
- Background checks that don’t interrupt your workflow
- User-controlled installation with confirmation dialogs
tauri.conf.json:
Tauri requires the
updater feature to be enabled in Cargo.toml: tauri = { version = "1.2", features = ["updater"] }Update Checks on Launch
SquirrelDisk checks for updates automatically when you launch the application. This ensures you’re always notified of new versions without being intrusive.No Spam Policy
Update checks are designed to be unobtrusive:- Once per launch: Checks only happen when you start the app
- No background polling: No continuous checking while running
- Optional installation: You choose when to install updates
- Skip versions: You can skip updates if desired
If an update is available, you’ll see a dialog with release notes. You can install it immediately or continue using the current version.
Update Endpoint
SquirrelDisk queries the update endpoint with platform-specific information:Template Variables
{{target}}: Platform identifier (e.g.,darwin-x86_64,windows-x86_64,linux-x86_64){{current_version}}: Currently installed version (e.g.,0.3.4)
Example Request
For version 0.3.4 on macOS:Response Format
The server responds with update information in JSON format:How to Install Updates
When an update is available:- Dialog appears showing the new version and release notes
- Review changes to see what’s new
- Click “Install” to download and install the update
- Application restarts with the new version
- Click “Skip” to continue with the current version
- You’ll be notified again on next launch (if still outdated)
Update Dialog
The dialog is configured intauri.conf.json:
- Current version
- New version available
- Release notes/changelog
- Install and Skip buttons
Setting
"dialog": false would disable the UI and require you to implement custom update handling.Version Checking
SquirrelDisk follows semantic versioning (semver):MAJOR.MINOR.PATCH
- MAJOR: Breaking changes
- MINOR: New features (backward compatible)
- PATCH: Bug fixes
Update Priority
- Patch updates (0.3.4 → 0.3.5): Recommended to install
- Minor updates (0.3.4 → 0.4.0): New features available
- Major updates (0.3.4 → 1.0.0): May require migration or have breaking changes
SquirrelDisk always notifies you of available updates, regardless of version jump, so you can decide what to install.
Cryptographic Signatures
All updates are cryptographically signed for security:- Updates are authentic: They come from the official SquirrelDisk developers
- No tampering: The binary hasn’t been modified
- Secure delivery: Man-in-the-middle attacks are prevented
How Signature Verification Works
- Server signs updates with a private key
- Client verifies signatures using the embedded public key
- Only properly signed updates can be installed
- Invalid signatures are rejected automatically
Signature verification happens automatically - you don’t need to do anything. Invalid updates will be rejected silently.
Platform-Specific Installation
Windows
- Downloads
.msiinstaller - Runs installer with elevated permissions
- Replaces existing installation
- Preserves user settings and data
macOS
- Downloads
.dmgor.app.tar.gz - Mounts disk image (for DMG)
- Replaces app in
/Applications - Preserves app data in
~/Library/Application Support
Linux
- Downloads
.AppImage,.deb, or.rpmdepending on distribution - AppImage: Self-contained, replace existing file
- Deb/RPM: Uses package manager for installation
- Preserves settings in
~/.config/squirreldisk
Update Download
Updates are downloaded in the background:- Progress indication: Shows download progress
- Cancellable: Can cancel download if needed
- Resumable: Interrupted downloads can resume
- Verified: Checksum verification after download
Troubleshooting Updates
Update Check Fails
If the update check fails:- Check internet connection: Ensure you’re online
- Firewall settings: Make sure SquirrelDisk can access the update server
- Proxy configuration: Configure proxy if needed
- Try later: Server might be temporarily unavailable
Installation Fails
If update installation fails:- Check permissions: Ensure you have admin/root access
- Close application: Make sure all instances are closed
- Disk space: Verify sufficient free space
- Manual download: Download from website as fallback
Signature Verification Error
If you see a signature error:- Don’t install: The update might be compromised
- Report issue: Contact support or file a GitHub issue
- Manual verification: Download from official website instead
Never bypass signature verification. If an update fails signature checks, it’s not safe to install.
Disabling Auto-Updates
While not recommended, you can disable auto-updates by:- Building from source with updater disabled
- Blocking network access to update endpoints
- Using an older version without the updater feature
Keeping SquirrelDisk updated ensures you have the latest features, performance improvements, and security fixes.
Release Channels
Currently, SquirrelDisk uses a single stable release channel. Future versions may include:- Stable: Tested releases (current default)
- Beta: Early access to new features
- Nightly: Cutting-edge daily builds

