We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
看到一些用户反馈 #547 (comment) ,明明发生了程序崩溃,却获取不到有用的日志信息。
很奇怪,我打断点发现应用启动会先执行 SwiftUI 中的 @main 入口,然后才会执行 AppDelegate 中的代理方法(到这里才启动崩溃日志捕获),因此如果某些特殊情况下,应用启动后就在 SwiftUI 入口崩溃,可能获取不到崩溃日志。(存疑 🤔)
优化 Easydict 启动代码,尽早开启崩溃日志捕获。
@main enum EasydictCmpatibilityEntry { static func main() { parseArmguments() if Configuration.shared.enableBetaNewApp { EasydictApp.main() } else { _ = NSApplicationMain(CommandLine.argc, CommandLine.unsafeArgv) } } }
The text was updated successfully, but these errors were encountered:
既然这个 issue #534 已经改为支持 macOS 13.0,那旧的启动页 Main.storyboard 也可以移除了,这个也一并给你吧 @AkaShark
Sorry, something went wrong.
okay
AkaShark
No branches or pull requests
起因
看到一些用户反馈 #547 (comment) ,明明发生了程序崩溃,却获取不到有用的日志信息。
很奇怪,我打断点发现应用启动会先执行 SwiftUI 中的 @main 入口,然后才会执行 AppDelegate 中的代理方法(到这里才启动崩溃日志捕获),因此如果某些特殊情况下,应用启动后就在 SwiftUI 入口崩溃,可能获取不到崩溃日志。(存疑 🤔)
改进
优化 Easydict 启动代码,尽早开启崩溃日志捕获。
The text was updated successfully, but these errors were encountered: