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

fix the filepath problem on windows #33

Closed
wants to merge 1 commit into from

Conversation

OPengXJ
Copy link

@OPengXJ OPengXJ commented Jul 25, 2023

From documentation of embed, it clearly says The path separator is a forward slash, even on Windows systems.And the result on windows got from the filepath.Join() function will use '\' but '/',so if we use it on windows, it will panic because can't find the file

@appleboy
Copy link
Member

fix in e08cacc

@appleboy appleboy closed this Jul 27, 2023
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