Skip to content

Commit

Permalink
chore(release): update version to 0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tfkhdyt committed Nov 27, 2024
1 parent 6e7637b commit 93d6755
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
13 changes: 3 additions & 10 deletions src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@
"active": true,
"category": "Productivity",
"copyright": "",
"targets": [
"deb",
"nsis",
"appimage"
],
"targets": ["deb", "nsis", "appimage"],
"externalBin": [],
"icon": [
"icons/32x32.png",
Expand All @@ -37,10 +33,7 @@
"providerShortName": null,
"signingIdentity": null
},
"resources": [
"./audio/button-press.wav",
"./audio/alarm-kitchen.mp3"
],
"resources": ["./audio/button-press.wav", "./audio/alarm-kitchen.mp3"],
"shortDescription": "Pomodoro Timer",
"linux": {
"appimage": {
Expand All @@ -53,7 +46,7 @@
},
"productName": "Pomodoro",
"mainBinaryName": "pomodoro",
"version": "0.9.1",
"version": "0.9.2",
"identifier": "dev.tfkhdyt.pomodoro",
"plugins": {},
"app": {
Expand Down
5 changes: 4 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import { match } from 'ts-pattern';
import type { LayoutData } from './$types';
import { exit } from '@tauri-apps/plugin-process';
import { resourceDir } from '@tauri-apps/api/path';
export let data: LayoutData;
Expand All @@ -39,7 +40,9 @@
$: progress = 100 - (timeLeft / 60 / targetMinutes) * 100;
let lastTimeInterval: number;
onMount(() => {
onMount(async () => {
console.log('Resource dir:', await resourceDir());
timeLeft = data.appData.lastTime ?? targetMinutes * 60;
lastTimeInterval = setInterval(async () => {
Expand Down

0 comments on commit 93d6755

Please sign in to comment.