Bel LaPointe 2023-12-27 08:20:11 -05:00
parent dfdd46f56e
commit 24498364f1
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,8 @@
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
use lib;
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
#[tauri::command]
fn greet(name: &str) -> String {

View File

@ -15,8 +15,14 @@
<body>
<div class="container">
<h1>Welcome to Tauri!</h1>
<div class="row">
<form class="row" action="#" onsubmit="analyze(); return false;">
<input type="file" />
<button type="submit">Go</button>
</form>
</div>
<!--
<div class="row">
<a href="https://tauri.app" target="_blank">
<img src="/assets/tauri.svg" class="logo tauri" alt="Tauri logo" />
@ -41,6 +47,7 @@
</form>
<p id="greet-msg"></p>
-->
</div>
</body>
</html>