Upgrade Tauri and add Tauri devtools

This commit is contained in:
Gregory Schier
2025-01-05 11:33:39 -08:00
parent 17fdd608d1
commit c72180bb59
16 changed files with 1143 additions and 600 deletions

View File

@@ -1,4 +1,4 @@
import { open } from '@tauri-apps/plugin-shell';
import { openUrl } from '@tauri-apps/plugin-opener';
import { Button } from '../components/core/Button';
import { invokeCmd } from '../lib/tauri';
import { useListenToTauriEvent } from './useListenToTauriEvent';
@@ -37,7 +37,7 @@ export function useNotificationToast() {
className="mr-auto min-w-[5rem]"
onClick={() => {
hide();
return open(actionUrl);
return openUrl(actionUrl);
}}
>
{actionLabel}