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

配置文件导出 #38

Open
e71828 opened this issue Oct 28, 2023 · 4 comments
Open

配置文件导出 #38

e71828 opened this issue Oct 28, 2023 · 4 comments

Comments

@e71828
Copy link

e71828 commented Oct 28, 2023

你好,
这个识别功能太强大了,比微信强多了。太厉害了。

我想问问怎么在升级尝试新版本的时候保存设置,比如快捷键字体其它自动复制和隐藏等配置,参考了一下,#30
希望能读取配置文件和输出到exe 目录。

@e71828
Copy link
Author

e71828 commented Oct 28, 2023

习惯于 shift + alt + s 截图,与win 的shift + win + s 呼应。
粘贴图片则是 alt + v, 类比于 ctrl + v。
自动复制结果,不弹出主窗口。

@hiroi-sora
Copy link
Owner

设置项存放在这:

UmiOCR-data/.settings

将旧版本的该文件扔进新版本软件相同位置即可迁移配置信息~

@hiroi-sora
Copy link
Owner

image

这样怎么样:配置文件可选存放在 Appdata目录或程序目录。如果存放在Appdata,则升级软件时可直接继承设置参数。

@e71828
Copy link
Author

e71828 commented Oct 28, 2023

谢谢,大佬。我看到那个.settins 文件了。关配置文件和数据文件,做便携版的话我觉得没必要,做安装版的话可以放在那里。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants