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

dp2circulation 数据目录中的 clientcfgs 子目录移动到了用户目录下 #12

Open
DigitalPlatform opened this issue Jan 22, 2016 · 0 comments

Comments

@DigitalPlatform
Copy link
Owner

今天改进了 dp2circulation,将原来版本存储在数据目录下的 clientcfgs 子目录移动到了用户目录下。

dp2circulation 启动的时候,会自动检查数据目录中是否存在 clientcfgs 子目录,如果存在就会移动它到用户目录中。考虑到不少用户除了在电脑上安装了一个 ClickOnce 的版本,还有一个绿色版本(这是由ClickOnce版本启动时候自动创建的,在 c:\dp2circulation 中),若其中一个版本启动过一次以后,已经完成了上述移动 clientcfgs 子目录的任务,然后另一个版本启动,如果还要再做一次这种移动,就会覆盖前次的内容,也可能会引起其他问题,所以负责移动的模块,还判断了目标子目录是否存在,如果存在则不会进行第二次移动操作。当然,这样就意味着第一次移动完成后,第二个版本的统计方案就不会被利用到了。

除了移动 clientcfgs 子目录,移动的模块还负责移动了原来数据目录下的 *projects.xml 文件,这是各个窗口配置定义统计方案的文件。

这次的版本号增加为 2.12。

renyh pushed a commit that referenced this issue Jun 8, 2018
DigitalPlatform pushed a commit that referenced this issue Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant