Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
fix: Error when checking files & always checking "/default/data" instead of folder
Description
Error was caused because jarPath points to the jar file, not the folder the program is currently running in.
When your folder contains " ", "[","]" or some thing else, code at line 92 will cause an error, and code at line 100 cannot get the corrct path. This makes getPathsFromResource() returns null and finally caused this error.
Also, the path was pointed to "/default/data" permenately, not the one in folder.
Issues fixed by this PR
[Bug] Android 安卓客户端登录界面文字成代码了 #982
(I don't have an Android phone, so I don't know whether this works, but some one was telling me that this issue is reated to this error. Can anyone help me to test this?)
Type of changes
Checklist: