Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

全局设置中自定义config目录无法生效

クローズ
#1,709 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
yaml
領域
backend

調査の方向性

Start by grepping the codebase for the exact log strings from the report: CfgPath 与当前配置目录不一致 and 已将程序旁配置迁移 — they locate the startup code that resolves the config directory and force-migrates exe-adjacent configs to ~/.config/TscanPlus/config. Then trace where the global setting for the custom config dir (CfgPath) is written in the settings UI versus where it is read and overridden at startup. Done when a user-set config directory is respected on relaunch (no correction/migration to the user directory) and a portable layout next to the executable is preserved rather than renamed to config.bak, verified by replaying the reported startup sequence on Windows.

索引モデルが issue の本文から書いたものです。

説明

📝 问题描述

全局设置中自定义config目录无法生效,无法进行便携版本配置设置。
可否保留便携版本设置,方便进行数据迁移。

🕹 复现步骤
  1. 使用环境:

    • 目标系统:Windows 11企业版
    • 无影版本:v3.5.3
    • 网络环境:无
  2. 功能配置:

    • 功能模块:全局配置
  3. 异常描述:

    • 设置自定义config目录后,重新自动恢复C:\Users\root.config\TscanPlus\config

运行日志:
[2026-10-06 19:48:36] [WAR] 文件License.lic不存在,以Free模式启动。
[2026-10-06 19:48:36] [WAR] CfgPath 与当前配置目录不一致,修正: D:\tools\TscanPlus\Config -> C:\Users\root.config\TscanPlus\config
[2026-10-06 19:48:36] [WAR] 已将程序旁配置迁移到用户目录 C:\Users\root.config\TscanPlus\config,原目录改名为 D:\tools\TscanPlus\config.bak
[2026-10-06 19:46:15] [WAR] 文件License.lic不存在,以Free模式启动。
[2026-10-06 19:46:15] [WAR] 配置无法恢复,创建默认 config.yaml: 无法加载或恢复 config.yaml
[2026-10-06 19:46:15] [WAR] config.yaml 读取/解析失败: open C:\Users\root.config\TscanPlus\config\config.yaml: The system cannot find the file specified.,尝试恢复...
[2026-10-06 19:38:36] [WAR] 文件License.lic不存在,以Free模式启动。
[2026-10-06 19:38:35] [WAR] CfgPath 与当前配置目录不一致,修正: D:\tools\TscanPlus\config.bak -> C:\Users\root.config\TscanPlus\config
[2026-10-06 19:37:38] [WAR] 文件License.lic不存在,以Free模式启动。
[2026-10-06 19:37:37] [WAR] 已将程序旁配置迁移到用户目录 C:\Users\root.config\TscanPlus\config,原目录改名为 D:\tools\TscanPlus\config.bak
[2026-10-06 19:33:24] [WAR] 文件License.lic不存在,以Free模式启动。
[2026-10-06 19:33:23] [WAR] 配置无法恢复,创建默认 config.yaml: 无法加载或恢复 config.yaml
[2026-10-06 19:33:23] [WAR] config.yaml 读取/解析失败: open C:\Users\root.config\TscanPlus\config\config.yaml: The system cannot find the file specified.,尝试恢复...
[2026-10-06 19:30:23] [WAR] 文件License.lic不存在,以Free模式启动。
[2026-10-06 19:30:22] [WAR] CfgPath 与当前配置目录不一致,修正: D:\tools\TscanPlus\Config -> C:\Users\root.config\TscanPlus\config
[2026-10-06 19:30:22] [WAR] 已将程序旁配置迁移到用户目录 C:\Users\root.config\TscanPlus\config,原目录改名为 D:\tools\TscanPlus\config.bak
[2026-10-06 19:28:54] [WAR] 文件License.lic不存在,以Free模式启动。

主要言語
言語のデータがありません
スター
4.4k
フォーク
252
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

TideSec/TscanPlus のほかの issue

TideSec/TscanPlus の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。