[bisq-network/bisq] Dont log error if BSQ blocks directory does not exist in resources (PR #5909)
Steven Barclay
notifications at github.com
Thu Dec 9 18:31:22 CET 2021
@stejbac commented on this pull request.
> @@ -123,9 +123,11 @@ void copyFromResources(String postFix) {
}
for (String fileName : fileNames) {
File destinationFile = new File(storageDir, fileName);
- FileUtil.resourceToFile(resourceDir + "/" + fileName, destinationFile);
+ FileUtil.resourceToFile(resourceDir + File.separator + fileName, destinationFile);
This doesn't appear to work on Windows. It has to be "/", not "\\".
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5909#pullrequestreview-827992563
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211209/ff57b8c8/attachment.htm>
More information about the bisq-github
mailing list