mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-30 13:08:00 +01:00
Changed disk space to use space available to current user
This commit is contained in:
parent
0224571a50
commit
d6e920c31d
@ -75,7 +75,7 @@ public class SystemUsage {
|
||||
*/
|
||||
public static long getFreeDiskSpace() {
|
||||
File file = new File(new File("").getAbsolutePath());
|
||||
return file.getFreeSpace() / 1000000L;
|
||||
return file.getUsableSpace() / 1000000L;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user