chore: add patching, change fonts
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { createAudioStore } from '@elron/svelte-audio-store';
|
||||
import { invoke } from '@tauri-apps/api/core';
|
||||
import { type ClassValue, clsx } from 'clsx';
|
||||
import { twMerge } from 'tailwind-merge';
|
||||
|
||||
@@ -93,3 +94,7 @@ export const formatBytes = (bytes: number, decimals = 2) => {
|
||||
|
||||
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))}${sizes[i]}`;
|
||||
};
|
||||
|
||||
export const openURL = async (url: string) => {
|
||||
await invoke('open_url_in_browser', { url });
|
||||
};
|
||||
|
Reference in New Issue
Block a user