cache: also copy index255
This commit is contained in:
@@ -77,6 +77,9 @@ public class StoreLocation
|
|||||||
InputStream in = StoreLocation.class.getResourceAsStream("/main_file_cache.dat2");
|
InputStream in = StoreLocation.class.getResourceAsStream("/main_file_cache.dat2");
|
||||||
Files.copy(in, new File(file, "main_file_cache.dat2").toPath());
|
Files.copy(in, new File(file, "main_file_cache.dat2").toPath());
|
||||||
|
|
||||||
|
in = StoreLocation.class.getResourceAsStream("/main_file_cache.idx255");
|
||||||
|
Files.copy(in, new File(file, "main_file_cache.idx255").toPath());
|
||||||
|
|
||||||
for (int i = 0; i <= NUM_INDEXES; ++i)
|
for (int i = 0; i <= NUM_INDEXES; ++i)
|
||||||
{
|
{
|
||||||
in = StoreLocation.class.getResourceAsStream("/main_file_cache.idx" + i);
|
in = StoreLocation.class.getResourceAsStream("/main_file_cache.idx" + i);
|
||||||
|
|||||||
Reference in New Issue
Block a user