added sav and bin files to cloud sync

This commit is contained in:
Seil0 2017-05-30 21:23:41 +02:00
parent 7611030f81
commit e91892f552
5 changed files with 5 additions and 3 deletions

2
bin/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/cloudControllerInstances/
/application/

View File

@ -154,7 +154,7 @@ public class MainWindowController {
private String selectedGameTitle;
private String color;
private String version = "0.1.5";
private String buildNumber = "017";
private String buildNumber = "019";
private String versionName = "Gusty Garden";
private int xPos = -200;
private int yPos = 17;

View File

@ -186,10 +186,10 @@ public class GoogleDriveController {
//reading all local savegames
private void getLocalSavegames() throws IOException {
java.io.File dir = new java.io.File(cemuDirectory+"/mlc01/emulatorSave");
String[] extensions = new String[] { "dat" };
String[] extensions = new String[] { "dat","sav","bin" };
localSavegames.removeAll(localSavegames);
localSavegamesName.removeAll(localSavegamesName);
System.out.println("Getting all .dat files in " + dir.getCanonicalPath()+" including those in subdirectories");
System.out.println("Getting all dat,sav,bin files in " + dir.getCanonicalPath()+" including those in subdirectories");
List<java.io.File> files = (List<java.io.File>) FileUtils.listFiles(dir, extensions, true);
for (java.io.File file : files) {
localSavegamesName.add(file.getParentFile().getName()+"_"+file.getName());