From 246e44dc3c8fc2eec8a4d15e5b008e41adf16cfb Mon Sep 17 00:00:00 2001 From: tisfeng Date: Sat, 2 Nov 2024 16:42:16 +0800 Subject: [PATCH] chore: update app version to 2.10.0 --- Easydict.xcodeproj/project.pbxproj | 8 ++++---- Easydict/Swift/Service/Gemini/GeminiService.swift | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Easydict.xcodeproj/project.pbxproj b/Easydict.xcodeproj/project.pbxproj index b5d5b1cd7..027b87dcf 100644 --- a/Easydict.xcodeproj/project.pbxproj +++ b/Easydict.xcodeproj/project.pbxproj @@ -3484,7 +3484,7 @@ CODE_SIGN_STYLE = $CODE_SIGN_STYLE; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 39; + CURRENT_PROJECT_VERSION = 40; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; ENABLE_HARDENED_RUNTIME = YES; @@ -3499,7 +3499,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 2.9.0; + MARKETING_VERSION = 2.10.0; PRODUCT_BUNDLE_IDENTIFIER = "com.izual.Easydict-debug"; PRODUCT_MODULE_NAME = Easydict; PRODUCT_NAME = "Easydict-debug"; @@ -3524,7 +3524,7 @@ CODE_SIGN_STYLE = $CODE_SIGN_STYLE; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 39; + CURRENT_PROJECT_VERSION = 40; DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; ENABLE_HARDENED_RUNTIME = YES; @@ -3539,7 +3539,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 13.0; - MARKETING_VERSION = 2.9.0; + MARKETING_VERSION = 2.10.0; PRODUCT_BUNDLE_IDENTIFIER = com.izual.Easydict; PRODUCT_MODULE_NAME = Easydict; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/Easydict/Swift/Service/Gemini/GeminiService.swift b/Easydict/Swift/Service/Gemini/GeminiService.swift index ab32d0509..fc79aca0c 100644 --- a/Easydict/Swift/Service/Gemini/GeminiService.swift +++ b/Easydict/Swift/Service/Gemini/GeminiService.swift @@ -118,7 +118,7 @@ public final class GeminiService: LLMStreamService { if let currentTask, currentTask.isCancelled == false { currentTask.cancel() } - + let queryType = queryType(text: text, from: from, to: to) // Gemini Docs: https://github.com/google/generative-ai-swift