Improve app cold startup speed

Author: 3gf8jv4dvCreated Sep 18, 2026Updated Sep 28, 2026
LabelsT: Feature

需求 / Requirement

Currently, the app takes too long to initialize when it starts. In a Windows 11 25H2 x64 test environment where Windows Defender-related features have been disabled, it takes approximately 5 seconds for the system tray icon and window to appear after running Clash Nyanpasu.exe. This figure may vary depending on the specifications of the equipment.

I don’t know how it works on other systems at this time.

建议实现 / Suggested implements

Optimize the app’s startup process to complete initialization as quickly as possible.

备注 / Addition details

No response

Clash Nyanpasu 版本号 / Clash Nyanpasu

2.0.0

是否为 Pre-release / Is pre-release version

701ae4f

自查步骤 / Verify steps

  • 如果您有足够的时间和能力,并愿意为此提交 PR,请勾上此复选框 / Pull request is welcome. Check this if you want to start a pull request
  • 您已仔细查看并知情 Q&A 中的内容 / You have checked Q&A carefully
  • 您已搜索过 Issue Tracker,没有找到类似内容 / I have searched on Issue Tracker, No duplicate or related open issue has been found
  • 您确保这个 Issue 只提及一个功能。如果您有多个功能请求,烦请发起多个 Issue / Ensure there is only one feature request in this issue. Please make multiply issue for multiply feature request
  • 您确保已使用最新 Pre-release 版本测试,并且该功能在最新 Pre-release 版本中并未实现 / This feature have not implemented in latest Pre-release version

Source: libnyanpasu/clash-nyanpasu