fix windows file rename bug

This commit is contained in:
Manfred Karrer 2014-07-09 13:34:35 +02:00
parent d221ae3aec
commit 2778779414
7 changed files with 129 additions and 119 deletions

View file

@ -76,7 +76,7 @@ public class BitSquare extends Application
// use a local data dir as default storage dir (can be overwritten in the settings)
// TODO save root preferences always in app dir top get preferred storage location
StorageDirectory.setStorageDirectory(new File(StorageDirectory.getApplicationDirectory().getAbsolutePath() + "/data"));
StorageDirectory.setStorageDirectory(new File(StorageDirectory.getApplicationDirectory().getCanonicalPath() + "/data"));
// currently there is not SystemTray support for java fx (planned for version 3) so we use the old AWT