We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
所有的文件路径, 都不要直接用string拼接, 这种方式会在linux下无法正常运行。
建议用Path.Combine(m_localPath, "Setting.txt")这种形式
还有你的m_localPath为啥要写的那么复杂, 我一般都是用下列方式直接取到exe文件的运行路径
m_localPath = AppDomain.CurrentDomain.BaseDirectory; string tmpFolder = Path.Combine(m_localPath, "Temp");
The text was updated successfully, but these errors were encountered:
没有考虑过LINUX下的情况,一些语法的细节问题没有你这么细心, 我的观点是能用先.以后慢慢优化..谢谢
Sorry, something went wrong.
本来想fork后, 再pull request的, 不过感觉改动量很大, 不知道这种方式是否合适。
已经修改过一次了,如果还有要修改的地方,你提交代码,一起交流,
怎么上传图片?
No branches or pull requests
所有的文件路径, 都不要直接用string拼接, 这种方式会在linux下无法正常运行。
建议用Path.Combine(m_localPath, "Setting.txt")这种形式
还有你的m_localPath为啥要写的那么复杂, 我一般都是用下列方式直接取到exe文件的运行路径
m_localPath = AppDomain.CurrentDomain.BaseDirectory;
string tmpFolder = Path.Combine(m_localPath, "Temp");
The text was updated successfully, but these errors were encountered: