From 6898dbe71511c948ee20c6ff648057e0e3ce7dd3 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sat, 18 Jan 2025 16:57:55 +0800 Subject: [PATCH] feat: add action version --- swift-secure-enclave-tool.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swift-secure-enclave-tool.swift b/swift-secure-enclave-tool.swift index 06d1c8f..612a640 100644 --- a/swift-secure-enclave-tool.swift +++ b/swift-secure-enclave-tool.swift @@ -202,5 +202,9 @@ if (action == "compute_secure_enclave_p256_ecdh") { exitWith(response: response) } +if (action == "version") { + exitWith(response: "ok:1.0.0-20250118") +} + print("err:unknown action") exit(1) \ No newline at end of file