parent
7f910323fc
commit
85c918eb8d
@ -1 +1 @@
|
||||
if("__TAURI__"in window){var __TAURI_BIOMETRIC__=function(_){"use strict";return _.doSomething=async function(){},_}({});Object.defineProperty(window.__TAURI__,"biometric",{value:__TAURI_BIOMETRIC__})}
|
||||
if("__TAURI__"in window){var __TAURI_BIOMETRIC__=function(e){"use strict";var _;return e.BiometryType=void 0,(_=e.BiometryType||(e.BiometryType={}))[_.None=0]="None",_[_.TouchID=1]="TouchID",_[_.FaceID=2]="FaceID",e.authenticate=async function(e,_){return window.__TAURI_INVOKE__("plugin:biometry|authenticate",{reason:e,..._})},e.checkStatus=async function(){return window.__TAURI_INVOKE__("plugin:biometry|status")},e}({});Object.defineProperty(window.__TAURI__,"biometric",{value:__TAURI_BIOMETRIC__})}
|
||||
|
@ -1,15 +0,0 @@
|
||||
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
use tauri::{AppHandle, command, Runtime, Window};
|
||||
|
||||
use crate::Result;
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn execute<R: Runtime>(
|
||||
_app: AppHandle<R>,
|
||||
_window: Window<R>,
|
||||
) -> Result<String> {
|
||||
Ok("success".to_string())
|
||||
}
|
Loading…
Reference in new issue