Skip to content

Commit

Permalink
Adding fix for issue 38 where preference file occured with the Arduin…
Browse files Browse the repository at this point in the history
…oIDE. Testing is commencing to verify.
  • Loading branch information
ricklon committed May 29, 2011
1 parent fa81201 commit b7845fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/src/processing/app/Editor.java
Expand Up @@ -155,7 +155,7 @@ public class Editor extends JFrame implements RunnerListener {


public Editor(Base ibase, String path, int[] location) {
super("Arduino");
super("mpide");
this.base = ibase;

Base.setIcon(this);
Expand Down
4 changes: 2 additions & 2 deletions app/src/processing/app/Platform.java
Expand Up @@ -74,7 +74,7 @@ public void init(Base base) {
public File getSettingsFolder() throws Exception {
// otherwise make a .processing directory int the user's home dir
File home = new File(System.getProperty("user.home"));
File dataFolder = new File(home, ".arduino");
File dataFolder = new File(home, ".mpide");
return dataFolder;

/*
Expand Down Expand Up @@ -169,4 +169,4 @@ protected void showLauncherWarning() {
"\"launcher=/path/to/app\" line to preferences.txt",
null);
}
}
}
2 changes: 1 addition & 1 deletion app/src/processing/app/macosx/Platform.java
Expand Up @@ -84,7 +84,7 @@ public void init(Base base) {


public File getSettingsFolder() throws Exception {
return new File(getLibraryFolder(), "Arduino");
return new File(getLibraryFolder(), "mpide");
}


Expand Down
2 changes: 1 addition & 1 deletion app/src/processing/app/windows/Platform.java
Expand Up @@ -187,7 +187,7 @@ public File getSettingsFolder() throws Exception {
String appDataPath =
Registry.getStringValue(REGISTRY_ROOT_KEY.CURRENT_USER, keyPath, "AppData");

File dataFolder = new File(appDataPath, "Arduino");
File dataFolder = new File(appDataPath, "mpide");
return dataFolder;
}

Expand Down

0 comments on commit b7845fe

Please sign in to comment.