--appdata & --config argument never actually getting used
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by tracing how --appdata and --config are parsed and how AppInfo and its static objects initialize. Check the preset and plugin manager paths, then verify that the supplied paths are set before any dependent objects initialize and that the example command no longer creates or uses the default directories.
由索引模型根据 Issue 内容生成。
描述
Steps to Reproduce
Use the --appdata or --config arguements.
Other AppInfo paths, preset & plugin manager doesn't actually use the provided path, and default to the usuals.
Expected Behavior
AppInfo should take multiple arguments, and should set them before initializing any paths.
Observed Behavior
When attempting to use AppInfo in any way, we are stuck waiting for it to initialize eveyr static objects, including an instance of AppInfo.
Only then we can set the path specified with arguments.
But by that point, it's already too late.
The other path are already initialized with the wrong appdata directory, the Plugin & Preset manager also have the wrong paths.
Example :
--appdata C:/Users/tinta/Documents/Repo/C#/OTD/Source/OpenTabletDriver-0.6.4.0/bin/userdata
[Settings:Info] The configuration directory 'C:\Users\tinta\Documents\Repo\C#\OTD\Source\OpenTabletDriver-0.6.4.0\OpenTabletDriver.Daemon\bin\Debug\net10.0\Configurations' has been created
[...]
Tablet Device
Diagnostic Information
Diagnostics-067 Wacom PTK-640.json
Acknowledgements
- I have installed OpenTabletDriver by following its official installation instructions.
- I have checked the OpenTabletDriver Wiki and respective FAQ pages, and my issue was not covered or actually fixed.
- I have searched the existing issues and this new issue is not a duplicate of any.
- I have written a concise and meaningful title.
- I am on the latest version of OpenTabletDriver.
- 主要语言
- C#
- 星标
- 4.2k
- 派生
- 557
- 平均合并
- 2 天 20 小时
- 30 天内合并 PR
- 46
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenTabletDriver/OpenTabletDriver 的其他 Issue
-
bug gui macos priority:low
难度 2/5 1-3 小时 新手友好度 70/100
OpenTabletDriver/OpenTabletDriver#5147 ·
维护者通常 1 天内回复
-
linux/gtk packaging
难度 2/5 1-3 小时 新手友好度 68/100
OpenTabletDriver/OpenTabletDriver#5020 ·
维护者通常 1 天内回复
-
configuration enhancement missing-details
难度 2/5 1-3 小时 新手友好度 72/100
OpenTabletDriver/OpenTabletDriver#4913 · 10 条评论 ·
维护者通常 1 天内回复
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
OpenTabletDriver/OpenTabletDriver#4701 · 1 条评论 ·
维护者通常 1 天内回复
-
bug gоοd fіrst іssսe packaging
难度 1/5 1 小时以内 新手友好度 68/100
OpenTabletDriver/OpenTabletDriver#4178 · 1 条评论 ·
维护者通常 1 天内回复
查看 OpenTabletDriver/OpenTabletDriver 的全部 Issue
相似的 Issue
-
good first issue
难度 1/5 1 小时以内 新手友好度 88/100
madeyoga/AuthEndpoints#365 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 76/100
majorsilence/Reporting#493 ·
维护者通常 1 天内回复
-
area: backend enhancement payments
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 4 天内回复