Skip to content

Commit dfd841e

Browse files
committed
fix: enable updater plugin in tauri.conf.json; adjust indentation in theme-loader.js; update release.yml for version tagging
1 parent ed07b06 commit dfd841e

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ jobs:
5151
uses: tauri-apps/tauri-action@v0
5252
env:
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54-
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
55-
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
54+
# TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
55+
# TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
5656
with:
57-
tagName: ${{ github.ref_name }}
57+
tagName: app-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
5858
releaseName: 'Presto v__VERSION__'
5959
releaseBody: |
6060
## What's Changed
@@ -74,6 +74,4 @@ jobs:
7474
**Full Changelog**: https://github.com/${{ github.repository }}/compare/v${{ github.event.before }}...${{ github.ref_name }}
7575
releaseDraft: false
7676
prerelease: false
77-
args: ${{ matrix.args }}
78-
includeDebug: false
79-
includeUpdaterJson: true
77+
args: ${{ matrix.args }}

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
},
5959
"plugins": {
6060
"updater": {
61-
"active": false,
61+
"active": true,
6262
"endpoints": [
6363
"https://api.github.com/repos/murdercode/presto/releases/latest"
6464
],

src/utils/theme-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ThemeLoader {
3939
// that gets updated by the build process or manually maintained
4040

4141
// This could be enhanced to use a build-time script that generates this list
42-
const knownThemes = [
42+
const knownThemes = [
4343
'espresso.css',
4444
'matrix.css',
4545
'pommodore64.css'

0 commit comments

Comments
 (0)