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

[Feature] 建议增强ini文件中的data_dir功能 #129

Open
4 tasks done
eillel opened this issue Dec 4, 2024 · 0 comments
Open
4 tasks done

[Feature] 建议增强ini文件中的data_dir功能 #129

eillel opened this issue Dec 4, 2024 · 0 comments
Labels
enhancement New feature or request not following template Necessary information is not provided or is irregular

Comments

@eillel
Copy link

eillel commented Dec 4, 2024

Verification Steps

  • I have carefully read the INI configuration file and understand the function of each configuration item.
  • I have not searched for the feature request I want to propose in the Issue Tracker and did not find it.
  • I am willing to create a pull request to implement the feature I proposed, otherwise I understand that the issue is likely to be closed.
  • I make sure to describe the feature in English.

Description

When the data_dir is left blank in the ini file, it indicates the use of Chrome++'s built-in configuration, while none indicates the use of the browser's default path. Currently, when data_dir=none, the --user-data-dir parameter is loaded from the startup arguments, and the function works as intended. However, when Chrome is set as the default browser and URLs are opened from other parts of the operating system, the Chrome instance launched by the system does not have a data_dir, resulting in the creation of a User Data folder in the user's directory under AppData\Local\Google\Chrome. It is suggested that the setting be changed to prioritize the --user-data-dir parameter. If there is no startup parameter, then use the data_dir from the ini file. If data_dir=none, automatically create a User Data folder in the user's directory.
————————————————————————————————
data_dir在ini文件中默认设置是留空表示使用 Chrome++ 内置配置,none 表示使用浏览器默认路径
当设置
data_dir=none时,需要从启动参数中加载--user-data-dir 参数,功能正常,
但是将Chrome设置为默认浏览器后,从操作系统其他位置调用打来URL链接,系统启动的Chrome是没有data_dir的,就会在用户目录下创建:AppData\Local\Google\Chrome\User Data文件夹
建议把这个设置改为--user-data-dir 参数优先,没有启动参数则使用ini文件的data_dir,若data_dir=none则自动在用户目录下创建User Data文件夹。

@Bush2021 Bush2021 added enhancement New feature or request not following template Necessary information is not provided or is irregular labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request not following template Necessary information is not provided or is irregular
Projects
None yet
Development

No branches or pull requests

2 participants