Skip to content

Conversation

@W192547975
Copy link
Contributor

No description provided.

@W192547975
Copy link
Contributor Author

[Chinese]我认为程序在安装路径(defaultInstallPath+defaultBinName)上移动失败是因为程序本身的运行阻止了自己被“写模式打开”,所以我添加了一个if使程序在安装路径上时不尝试移动,从而避免错误。

New function copyFile which use fmt.Errorf
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.

1 participant