nah
parent
dfdd46f56e
commit
24498364f1
|
|
@ -1,6 +1,8 @@
|
||||||
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
|
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
|
||||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||||
|
|
||||||
|
use lib;
|
||||||
|
|
||||||
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
|
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
|
||||||
#[tauri::command]
|
#[tauri::command]
|
||||||
fn greet(name: &str) -> String {
|
fn greet(name: &str) -> String {
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,14 @@
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<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">
|
<div class="row">
|
||||||
<a href="https://tauri.app" target="_blank">
|
<a href="https://tauri.app" target="_blank">
|
||||||
<img src="/assets/tauri.svg" class="logo tauri" alt="Tauri logo" />
|
<img src="/assets/tauri.svg" class="logo tauri" alt="Tauri logo" />
|
||||||
|
|
@ -41,6 +47,7 @@
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<p id="greet-msg"></p>
|
<p id="greet-msg"></p>
|
||||||
|
-->
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue