diff --git a/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/org/diylc/swing/gui/MainFrame.java b/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/org/diylc/swing/gui/MainFrame.java
index 5d10d76e..5bf68978 100644
--- a/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/org/diylc/swing/gui/MainFrame.java
+++ b/ diy-layout-creator --username bancika@gmail.com/DIYLC/src/org/diylc/swing/gui/MainFrame.java
@@ -8,6 +8,10 @@ import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
import java.util.Arrays;
import java.util.EnumSet;
import java.util.HashMap;
@@ -101,7 +105,21 @@ public class MainFrame extends JFrame implements ISwingUI {
canvasPlugin = new CanvasPlugin(this);
presenter.installPlugin(canvasPlugin);
presenter.installPlugin(new FramePlugin());
- presenter.installPlugin(new AutoSavePlugin(this));
+
+ try {
+ File testFile = new File("test.tmp");
+ Writer out = new OutputStreamWriter(new FileOutputStream(testFile));
+ out.write("This is a test");
+ out.close();
+ testFile.delete();
+ presenter.installPlugin(new AutoSavePlugin(this));
+ } catch (Exception e) {
+ showMessage(
+ "The current user does not have permissions to access folder "
+ + new File(".").getAbsolutePath()
+ + ".\nAuto-save feature will not be available, contact your system administrator.",
+ "Warning", IView.WARNING_MESSAGE);
+ }
presenter.createNewProject();
diff --git a/ diy-layout-creator --username bancika@gmail.com/DIYLC/update.xml b/ diy-layout-creator --username bancika@gmail.com/DIYLC/update.xml
index 5f9e738a..f81f6be5 100644
--- a/ diy-layout-creator --username bancika@gmail.com/DIYLC/update.xml
+++ b/ diy-layout-creator --username bancika@gmail.com/DIYLC/update.xml
@@ -334,6 +334,10 @@
IMPROVEMENT
Auto-increment component names when copy-pasting
+
+ IMPROVEMENT
+ Do not attempt to write auto-save files if user does not have permissions to create files
+
IMPROVEMENT
Allow zero ohm resistors