Fix slow performance on second and subsequent application startups#194
Merged
Neutree merged 1 commit intoNeutree:masterfrom Apr 24, 2026
Merged
Fix slow performance on second and subsequent application startups#194Neutree merged 1 commit intoNeutree:masterfrom
Neutree merged 1 commit intoNeutree:masterfrom
Conversation
Closed
There was a problem hiding this comment.
Pull request overview
This PR addresses the Windows “slow second startup” issue (#192) by moving configuration and runtime log files out of the application’s current working directory (which can be under Defender/AV scanning and UAC virtualization) and into the user’s AppData directory, aligning with Windows-recommended storage locations.
Changes:
- On Windows, switch
config.jsonstorage from the current working directory to%APPDATA%/COMTool. - As a result,
run.logis also written under the same AppData directory.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
8f8c2e9 to
9b7465e
Compare
wanstarge
commented
Apr 23, 2026
Author
wanstarge
left a comment
There was a problem hiding this comment.
I think the current code has achieved maximum compatibility
Owner
|
真棒! |
Author
没想到困扰很久的问题,在这发现原因了,哈哈哈,我之前用sscom的时候,怀疑过amd还是intel芯片的问题,也怀疑过是一些缓存,但是看不到源码只能将就着用,没想到在这里看到解决办法了,你也是,太强啦,共筑开源生态,祝你有美好的一天 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
软件针对Windows 将 config.json 和 run.log 放到当前工作目录。这会触发如下问题#192 ,导致二次启动显著变慢,我修改了软件的配置以及日志保存到AppData目录下,这也是Windows所推荐的,后续未再遇见此问题