Skip to content
New issue

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

[FEAT]: 清理被删除的隧道的配置文件 #179

Closed
2 tasks done
Suisuroru opened this issue Aug 25, 2024 · 9 comments · Fixed by #207
Closed
2 tasks done

[FEAT]: 清理被删除的隧道的配置文件 #179

Suisuroru opened this issue Aug 25, 2024 · 9 comments · Fixed by #207
Assignees
Labels
enhancement:功能 是新的功能请求

Comments

@Suisuroru
Copy link

问前检查

  • 我确保本功能尚未加入
  • 我确保没有其他 Issue 提出此功能

功能描述

%Roaming%\moe.muska.ami\nyanana\frpc\proxies目录下,已经被删除的隧道仍然保存配置文件,且相关自动启动参数也仍然保存

希望能在检查到隧道删除时自动删除相关配置文件和自动启动参数

@Suisuroru Suisuroru added the enhancement:功能 是新的功能请求 label Aug 25, 2024
@Suisuroru Suisuroru changed the title [FEAT]: 清理被删除的隧道 [FEAT]: 清理被删除的隧道的配置文件 Aug 25, 2024
@Suisuroru
Copy link
Author

Suisuroru commented Aug 25, 2024

由于这个情况的存在,每次启动软件的时候都会尝试去启动已经被删除的隧道,显而易见,这会是失败的,这就会降低软件启动的效率

但由于此问题并不影响正常使用,所以我将其提交为推荐处理

@Suisuroru
Copy link
Author

Suisuroru commented Aug 25, 2024

这是我测试时的frpc日志

frpc.log

@Suisuroru
Copy link
Author

Suisuroru commented Aug 25, 2024

这是Nya的日志

run.log

@Muska-Ami
Copy link
Owner

会尽快实现相关功能,但不会移除已删除隧道的配置文件。会将其移动到临时目录,由用户决定是否删除。
自动启动项目则会直接移除。

@Muska-Ami
Copy link
Owner

Update: 应该提供一个已存储的配置文件管理界面,不必移动位置

@Muska-Ami Muska-Ami moved this to Todo in NyaLCF Next Sep 5, 2024
@Suisuroru
Copy link
Author

Suisuroru commented Sep 5, 2024 via email

@Muska-Ami
Copy link
Owner

这个会实现,不过配置不会自动删除

@Muska-Ami
Copy link
Owner

由于我个人精力有限,可能不会那么快发布更新
启动的效率其实是不差的,因为自动启动隧道是异步操作,只会有轻微的性能影响

@Muska-Ami Muska-Ami self-assigned this Sep 5, 2024
@Muska-Ami Muska-Ami moved this from Todo to In Progress in NyaLCF Next Sep 10, 2024
@Muska-Ami Muska-Ami added the done in dev channel:开发通道已完成 在开发版本已经做到惹 label Oct 3, 2024
@Muska-Ami Muska-Ami moved this from In Progress to Done in NyaLCF Next Oct 3, 2024
@Muska-Ami
Copy link
Owner

已完成

@Muska-Ami Muska-Ami linked a pull request Oct 3, 2024 that will close this issue
@Muska-Ami Muska-Ami removed the done in dev channel:开发通道已完成 在开发版本已经做到惹 label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement:功能 是新的功能请求
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants