尝试使用mac的指纹识别来授权,但是似乎没有效果

This commit is contained in:
2026-07-09 11:27:40 +08:00
parent b52db70015
commit 9b1cb668b1
9 changed files with 441 additions and 6 deletions
+14
View File
@@ -0,0 +1,14 @@
//go:build darwin
package ui
import (
"lmvpn/internal/i18n"
"lmvpn/internal/keychain"
)
// setTouchIDPromptFromI18n configures the localized Touch ID prompt
// text on the keychain store for the current language.
func setTouchIDPromptFromI18n() {
keychain.SetTouchIDPrompt(i18n.T("TouchIDPrompt"))
}