Upload files to "/"
This commit is contained in:
14
commands.rs
Normal file
14
commands.rs
Normal file
@@ -0,0 +1,14 @@
|
||||
#[tauri::command(rename_all = "snake_case")]
|
||||
pub fn validate_license(_license: String) -> bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
#[tauri::command(rename_all = "snake_case")]
|
||||
pub fn validate_username(_username: String) -> bool {
|
||||
return true;
|
||||
}
|
||||
|
||||
#[tauri::command(rename_all = "snake_case")]
|
||||
pub fn get_app_version() -> String {
|
||||
env!("CARGO_PKG_VERSION").to_string()
|
||||
}
|
||||
Reference in New Issue
Block a user