added copying of history files from previous version
parent
d7e8faddc1
commit
d3c0eb5f51
|
@ -10,6 +10,7 @@ import java.util.Properties;
|
|||
|
||||
public class History {
|
||||
|
||||
public static final String HISTORY_FOLDER = "history";
|
||||
private static final String HISTORY_EXTENSION = ".hist";
|
||||
|
||||
private static final String GAMES_PLAYED = "gamesPlayed";
|
||||
|
@ -36,7 +37,7 @@ public class History {
|
|||
}
|
||||
|
||||
public static String getHistoryFolder() {
|
||||
return MagicMain.getGamePath() + File.separator + "history";
|
||||
return MagicMain.getGamePath() + File.separator + HISTORY_FOLDER;
|
||||
}
|
||||
|
||||
public static void createHistoryFolder() {
|
||||
|
|
|
@ -4,6 +4,7 @@ import magic.MagicMain;
|
|||
|
||||
import magic.data.CardDefinitions;
|
||||
import magic.data.DownloadMissingFiles;
|
||||
import magic.data.History;
|
||||
import magic.data.IconImages;
|
||||
import magic.data.WebDownloader;
|
||||
import magic.data.FileIO;
|
||||
|
@ -154,7 +155,8 @@ public class DownloadImagesDialog extends JFrame implements Runnable,ActionListe
|
|||
new File(oldDataFolder, CardDefinitions.CARD_IMAGE_FOLDER),
|
||||
new File(oldDataFolder, CardDefinitions.TOKEN_IMAGE_FOLDER),
|
||||
new File(oldDataFolder, CardDefinitions.CARD_TEXT_FOLDER),
|
||||
new File(oldDataFolder, "symbols")
|
||||
new File(oldDataFolder, "symbols"),
|
||||
new File(oldDataFolder, History.HISTORY_FOLDER)
|
||||
};
|
||||
|
||||
int count=0;
|
||||
|
|
Loading…
Reference in New Issue