initial commit

This commit is contained in:
DecDuck
2024-10-06 01:10:57 +10:00
commit f6cd7c3d1f
42 changed files with 5528 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
mod unpacker;
use tauri::Runtime;
use unpacker::unpack;
#[tauri::command]
async fn unpack_debug<R: Runtime>(
app: tauri::AppHandle<R>,
window: tauri::Window<R>,
) -> Result<String, String> {
unpack().unwrap();
return Ok("Successful".to_string());
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_shell::init())
.invoke_handler(tauri::generate_handler![unpack_debug])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}