mirror of
https://github.com/mrgoonie/winshot.git
synced 2026-04-26 18:45:57 +03:00
[PR #41] [MERGED] feat(update): implement auto-update feature for GitHub Releases #60
Labels
No labels
bug
enhancement
enhancement
pull-request
question
released
released on @beta
released on @dev
released on @latest
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/winshot#60
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mrgoonie/winshot/pull/41
Author: @mrgoonie
Created: 12/14/2025
Status: ✅ Merged
Merged: 12/14/2025
Merged by: @mrgoonie
Base:
dev← Head:goon📝 Commits (3)
94ed01cfeat(annotations): implement undo/redo with keyboard shortcutsbfa2744fix(settings): migrate background images from localStorage to backend config96194effeat(update): implement auto-update feature for GitHub Releases📊 Changes
15 files changed (+677 additions, -31 deletions)
View changed files
📝
app.go(+22 -0)📝
frontend/dist/index.html(+2 -2)📝
frontend/src/App.tsx(+99 -24)📝
frontend/src/components/annotation-toolbar.tsx(+39 -0)📝
frontend/src/components/settings-modal.tsx(+39 -1)📝
frontend/src/components/settings-panel.tsx(+38 -4)➕
frontend/src/components/update-modal.tsx(+128 -0)➕
frontend/src/hooks/use-undo-redo.ts(+107 -0)📝
frontend/wailsjs/go/main/App.d.ts(+9 -0)📝
frontend/wailsjs/go/main/App.js(+16 -0)📝
frontend/wailsjs/go/models.ts(+46 -0)📝
go.mod(+1 -0)📝
go.sum(+2 -0)📝
internal/config/config.go(+11 -0)➕
internal/updater/updater.go(+118 -0)📄 Description
Summary
Changes
Backend (Go)
internal/updater/updater.go- Module for checking GitHub Releases API with semver comparisoninternal/config/config.go- Added UpdateConfig struct with CheckOnStartup and SkippedVersion fieldsapp.go- Added CheckForUpdate, OpenURL, SetSkippedVersion, GetSkippedVersion bindingsgithub.com/Masterminds/semver/v3Frontend (React/TypeScript)
frontend/src/components/update-modal.tsx- Update notification modal componentfrontend/src/App.tsx- Integrated update check on app startupfrontend/src/components/settings-modal.tsx- Added "Updates" tab with toggle controlfrontend/src/hooks/use-undo-redo.ts- Undo/redo hook (Issue #39)frontend/src/components/annotation-toolbar.tsx- Added undo/redo buttonsTest plan
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.