You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(updater): add missing permissions and auto-check on launch for v0.1.6
This release fixes critical auto-updater issues that prevented v0.1.4 users from receiving update notifications.
## Key Fixes
- Added missing updater and process permissions to capabilities file
- Auto-updater now checks for updates on app launch (2s delay)
- Improved error handling with visual feedback for failed update checks
- Fixed permission errors that blocked update API calls
## Changes
- src-tauri/capabilities/default.json: Added updater:*, process:allow-restart permissions
- src/App.tsx: Added useEffect hook to check for updates on launch
- src/components/ui/UpdateChecker.tsx: Enhanced error handling with red error text
- Version bumped to 0.1.6 across all config files
## Technical Details
The root cause was Tauri v2's security model blocking updater API calls due to missing permissions. Even though the updater plugin was initialized and configured correctly, the frontend couldn't call check(), download(), or install() without explicit permission grants.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
**Test release for auto-update functionality.** This release adds version display in Settings footer, making it easy to verify which version you're running. This is primarily a test release to verify that auto-updates from v0.1.4 work correctly.
4
+
5
+
### New Features
6
+
- Added version number display in Settings footer (shows "v0.1.5")
7
+
- Easy visual confirmation of successful updates
8
+
9
+
**Auto-update test:** Users on v0.1.4 should see "Update available" in Settings and be able to one-click update to v0.1.5. After update, Settings footer will show "v0.1.5" confirming the update worked.
0 commit comments