godoos/frontend/src/util/unzip.ts
2024-07-22 17:44:55 +08:00

10 lines
No EOL
334 B
TypeScript

// 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);
// }
// }