From 9ccd9fd9e9f25390dded2497f33c475f1891864b Mon Sep 17 00:00:00 2001 From: Jerry Zhang Date: Sat, 6 Jan 2024 01:58:38 -0800 Subject: [PATCH 1/3] perf(UI): update copyright info (#309) * perf(UI): update copyright info * perf(UI): align copyright info with Finder --- Easydict/App/Info-debug.plist | 2 +- Easydict/App/Info.plist | 2 +- EasydictHelper/Info.plist | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Easydict/App/Info-debug.plist b/Easydict/App/Info-debug.plist index defc09926..d94aeb894 100644 --- a/Easydict/App/Info-debug.plist +++ b/Easydict/App/Info-debug.plist @@ -51,7 +51,7 @@ NSHumanReadableCopyright - Copyright © 2022 tisfeng. All rights reserved. + Copyright © 2023-2024 tisfeng. All rights reserved. NSMainStoryboardFile Main NSPrincipalClass diff --git a/Easydict/App/Info.plist b/Easydict/App/Info.plist index 6e735f833..99a9b1c94 100644 --- a/Easydict/App/Info.plist +++ b/Easydict/App/Info.plist @@ -51,7 +51,7 @@ NSHumanReadableCopyright - Copyright © 2022 tisfeng. All rights reserved. + Copyright © 2023-2024 tisfeng. All rights reserved. NSMainStoryboardFile Main NSPrincipalClass diff --git a/EasydictHelper/Info.plist b/EasydictHelper/Info.plist index d8b9f2dde..9a30b4d8d 100644 --- a/EasydictHelper/Info.plist +++ b/EasydictHelper/Info.plist @@ -27,7 +27,7 @@ LSUIElement NSHumanReadableCopyright - Copyright © 2022 tisfeng. All rights reserved. + Copyright © 2023-2024 tisfeng. All rights reserved. NSMainStoryboardFile Main NSPrincipalClass From fca8c65533bc501aa6bfcee53f7c4c20cf955c01 Mon Sep 17 00:00:00 2001 From: tisfeng Date: Sun, 7 Jan 2024 09:50:15 +0800 Subject: [PATCH 2/3] fix: xcode cannot use breakpoint set GCC_GENERATE_DEBUGGING_SYMBOLS = YES https://stackoverflow.com/a/75668788/8378840 --- Easydict.xcodeproj/project.pbxproj | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Easydict.xcodeproj/project.pbxproj b/Easydict.xcodeproj/project.pbxproj index 00aad8201..56aeb6d3f 100644 --- a/Easydict.xcodeproj/project.pbxproj +++ b/Easydict.xcodeproj/project.pbxproj @@ -2754,7 +2754,7 @@ DEVELOPMENT_TEAM = 79NQA2XYHM; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GENERATE_INFOPLIST_FILE = YES; MACOSX_DEPLOYMENT_TARGET = 14.1; MARKETING_VERSION = 1.0; @@ -2782,7 +2782,7 @@ DEVELOPMENT_TEAM = 79NQA2XYHM; ENABLE_USER_SCRIPT_SANDBOXING = YES; GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GENERATE_INFOPLIST_FILE = YES; MACOSX_DEPLOYMENT_TARGET = 14.1; MARKETING_VERSION = 1.0; @@ -2809,7 +2809,7 @@ DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_PREFIX_HEADER = "$(SRCROOT)/Easydict/App/PrefixHeader.pch"; GENERATE_INFOPLIST_FILE = YES; MACOSX_DEPLOYMENT_TARGET = 11.0; @@ -2834,7 +2834,7 @@ DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; ENABLE_USER_SCRIPT_SANDBOXING = NO; GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_PREFIX_HEADER = "$(SRCROOT)/Easydict/App/PrefixHeader.pch"; GENERATE_INFOPLIST_FILE = YES; MACOSX_DEPLOYMENT_TARGET = 11.0; @@ -2859,7 +2859,7 @@ DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; ENABLE_HARDENED_RUNTIME = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = EasydictHelper/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -2885,7 +2885,7 @@ DEAD_CODE_STRIPPING = YES; DEVELOPMENT_TEAM = "$(DEVELOPMENT_TEAM)"; ENABLE_HARDENED_RUNTIME = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; INFOPLIST_FILE = EasydictHelper/Info.plist; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -3044,7 +3044,7 @@ ENABLE_HARDENED_RUNTIME = YES; ENABLE_TESTING_SEARCH_PATHS = NO; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_PREFIX_HEADER = "$(SRCROOT)/Easydict/App/PrefixHeader.pch"; INFOPLIST_FILE = "$(TARGET_NAME)/App/Info-debug.plist"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; @@ -3084,7 +3084,7 @@ ENABLE_HARDENED_RUNTIME = YES; ENABLE_TESTING_SEARCH_PATHS = NO; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_PREFIX_HEADER = "$(SRCROOT)/Easydict/App/PrefixHeader.pch"; INFOPLIST_FILE = "$(TARGET_NAME)/App/Info.plist"; INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.utilities"; From 261b625f3d770365ff1fa0ddabe6a030b0592d08 Mon Sep 17 00:00:00 2001 From: tisfeng Date: Sun, 7 Jan 2024 10:19:58 +0800 Subject: [PATCH 3/3] docs: update README --- README.md | 2 +- README_EN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 604284bd4..ce11f5f41 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ 感谢 [BingoKingo](https://github.com/tisfeng/Easydict/issues/1#issuecomment-1445286763) 提供的最初安装版本。 ```bash -brew install easydict +brew install --cask easydict ``` ### 开发者构建 diff --git a/README_EN.md b/README_EN.md index 1a14e34be..75f213731 100644 --- a/README_EN.md +++ b/README_EN.md @@ -117,7 +117,7 @@ You can install it using one of the following two methods. Support macOS 11.0+ Thanks to [BingoKingo](https://github.com/tisfeng/Easydict/issues/1#issuecomment-1445286763) for the initial installation version. ```bash -brew install easydict +brew install --cask easydict ``` ### Developer Build