Skip to content

Commit

Permalink
add update button
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Jan 18, 2024
1 parent f26bd29 commit b5e546d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion desktop/src-tauri/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
"error-title": "Error",
"modal-error-body": "A bug happend!",
"modal-close": "Close",
"reset-app": "Reset Vibe"
"reset-app": "Reset Vibe",
"update-version": "Update Vibe"
}
3 changes: 2 additions & 1 deletion desktop/src-tauri/locales/he-IL/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@
"error-title": "שגיאה",
"modal-error-body": "קרתה שגיאה לא צפויה",
"modal-close": "סגירה",
"reset-app": "ביצוע איפוס"
"reset-app": "ביצוע איפוס",
"update-version": "עדכן לגרסה חדשה"
}
3 changes: 3 additions & 0 deletions desktop/src/pages/SettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ export default function SettingsPage() {
<button onClick={() => shell.open("https://github.com/thewh1teagle/vibe")} className="btn bg-base-300 text-base-content">
{t("project-link")}
</button>
<button onClick={async () => shell.open("https://github.com/thewh1teagle/vibe/releases/latest")} className="btn bg-base-300 text-base-content">
{t("update-version")}
</button>
<button onClick={async () => shell.open(await getIssueUrl(await getAppInfo()))} className="btn bg-base-300 text-base-content">
{t("report-issue")}
</button>
Expand Down

0 comments on commit b5e546d

Please sign in to comment.