Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix use SQLite error of windows install#1471

Merged
joyqi merged 1 commit intomasterfrom
install
Jul 19, 2022
Merged

Fix use SQLite error of windows install#1471
joyqi merged 1 commit intomasterfrom
install

Conversation

@sy-records
Copy link
Member

@sy-records sy-records requested a review from joyqi July 15, 2022 03:14
Copy link
Member

@joyqi joyqi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

相比于在后面增加一个hack,我更倾向于在生成路径的时候把windows的反斜杠都统一变成unix的正斜杠

@sy-records
Copy link
Member Author

这个好像只能在判断的时候处理下,把盘符和反斜杠替换掉。windows下会有盘符,这里正则也是从头匹配/

@joyqi joyqi merged commit d15fc14 into master Jul 19, 2022
@sy-records sy-records deleted the install branch July 19, 2022 22:29
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

Successfully merging this pull request may close these issues.

2 participants