10 lines
No EOL
334 B
TypeScript
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);
|
|
// }
|
|
// }
|