mirror of
https://github.com/tonytins/amtkstat.git
synced 2025-07-16 10:56:36 -04:00
Initial commit
This commit is contained in:
commit
210499ef8a
41 changed files with 5060 additions and 0 deletions
18
src-tauri/src/main.rs
Normal file
18
src-tauri/src/main.rs
Normal file
|
@ -0,0 +1,18 @@
|
|||
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
|
||||
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
||||
|
||||
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
|
||||
#[tauri::command]
|
||||
fn greet(name: &str) -> String {
|
||||
format!(
|
||||
"https://dixielandsoftware.net/cgi-bin/solari_relay.pl?data={}",
|
||||
name
|
||||
)
|
||||
}
|
||||
|
||||
fn main() {
|
||||
tauri::Builder::default()
|
||||
.invoke_handler(tauri::generate_handler![greet])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue