Skip to content

Commit 91dfeeb

Browse files
committed
chore: bump version to 0.1.1 for release
1 parent 1d28809 commit 91dfeeb

File tree

5 files changed

+28
-9
lines changed

5 files changed

+28
-9
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ jobs:
9292
releaseDraft: true
9393
prerelease: false
9494
args: ${{ matrix.args }}
95+
includeDebug: false
96+
includeRelease: true
9597

9698
publish-release:
9799
needs: build-and-release

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "presto",
33
"private": true,
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"type": "module",
66
"scripts": {
77
"tauri": "tauri",

src-tauri/src/lib.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -473,14 +473,14 @@ async fn update_tray_icon(
473473
mode_icon: Option<String>,
474474
) -> Result<(), String> {
475475
use std::sync::{Arc, Mutex};
476-
476+
477477
// Use Arc<Mutex<Result<(), String>>> to capture the result from the main thread
478478
let result = Arc::new(Mutex::new(Ok(())));
479479
let result_clone = Arc::clone(&result);
480-
480+
481481
// Clone the app handle to move into the closure
482482
let app_clone = app.clone();
483-
483+
484484
// Move the operation to the main thread using Tauri's app handle
485485
// This ensures macOS tray operations run on the main thread
486486
app.run_on_main_thread(move || {
@@ -495,7 +495,8 @@ async fn update_tray_icon(
495495
_ => "⏱️".to_string(),
496496
});
497497

498-
let status = if is_running { "Running" } else { "Paused" }; let title = format!("{} {}", icon, timer_text);
498+
let status = if is_running { "Running" } else { "Paused" };
499+
let title = format!("{} {}", icon, timer_text);
499500
tray.set_title(Some(title))
500501
.map_err(|e| format!("Failed to set title: {}", e))?;
501502

@@ -523,7 +524,7 @@ async fn update_tray_icon(
523524
})();
524525
})
525526
.map_err(|e| format!("Failed to run on main thread: {}", e))?;
526-
527+
527528
// Extract the result from the mutex
528529
let final_result = result.lock().unwrap().clone();
529530
final_result

src-tauri/tauri.conf.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "presto",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"identifier": "com.presto.app",
66
"build": {
77
"frontendDist": "../src"
@@ -35,7 +35,23 @@
3535
3636
"icons/icon.icns",
3737
"icons/icon.ico"
38-
]
38+
],
39+
"macOS": {
40+
"dmg": {
41+
"appPosition": {
42+
"x": 180,
43+
"y": 170
44+
},
45+
"applicationFolderPosition": {
46+
"x": 480,
47+
"y": 170
48+
},
49+
"windowSize": {
50+
"width": 660,
51+
"height": 400
52+
}
53+
}
54+
}
3955
},
4056
"plugins": {
4157
"updater": {

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)