// import { invoke } from '@tauri-apps/api/core'; // export async function unzip(zipPath:string, destPath:string) { // try { // await invoke('unzipfile', { zip_path: zipPath, dest_path: destPath }); // console.log('Unzipped successfully'); // } catch (error) { // console.error('Failed to unzip:', error); // } // }