1
0
Fork 0

Initial Commit

This commit is contained in:
Jordon Brooks 2025-06-22 13:47:07 +01:00
commit 8ed5b576eb
Signed by: jordon
GPG key ID: DBD9758CD53E786A
33 changed files with 5495 additions and 0 deletions

14
src-tauri/src/lib.rs Normal file
View file

@ -0,0 +1,14 @@
// Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
#[tauri::command]
fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_opener::init())
.invoke_handler(tauri::generate_handler![greet])
.run(tauri::generate_context!())
.expect("error while running tauri application");
}

6
src-tauri/src/main.rs Normal file
View file

@ -0,0 +1,6 @@
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
openvcs_lib::run()
}