Skip to content

Commit e7a84bb

Browse files
MiseiMisei
authored andcommitted
feat: implement Tauri auto-updater with version display
- Add tauri-plugin-updater and tauri-plugin-process dependencies - Implement automatic update check on app startup - Add version info display component showing app version and git commit - Configure GitHub Actions for signed release artifacts - Add updater configuration to tauri.conf.json - Create useVersionInfo hook and VersionInfo component - Update App.tsx footer to display version information Note: Requires TAURI_SIGNING_PRIVATE_KEY and TAURI_SIGNING_PRIVATE_KEY_PASSWORD secrets to be configured in GitHub repository settings before release.
1 parent b170b17 commit e7a84bb

File tree

11 files changed

+548
-4
lines changed

11 files changed

+548
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,13 @@ jobs:
7777
uses: tauri-apps/tauri-action@v0
7878
env:
7979
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
80+
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
81+
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
8082
with:
8183
tagName: ${{ github.ref_name }}
8284
releaseName: 'OBS Sync ${{ github.ref_name }}'
8385
releaseBody: '🚀 Release version ${{ github.ref_name }}'
8486
releaseDraft: false
8587
prerelease: false
88+
includeUpdaterJson: true
8689
args: ${{ matrix.args }}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
"dependencies": {
1717
"@tauri-apps/api": "^2",
1818
"@tauri-apps/plugin-opener": "^2",
19+
"@tauri-apps/plugin-process": "^2",
20+
"@tauri-apps/plugin-updater": "^2",
1921
"obs-websocket-js": "^5.0.7",
2022
"react": "^19.1.0",
2123
"react-dom": "^19.1.0",

0 commit comments

Comments
 (0)