aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/API.cs
diff options
context:
space:
mode:
Diffstat (limited to 'source/WindowsFormsApplication1/API.cs')
-rw-r--r--source/WindowsFormsApplication1/API.cs13
1 files changed, 10 insertions, 3 deletions
diff --git a/source/WindowsFormsApplication1/API.cs b/source/WindowsFormsApplication1/API.cs
index f90532f..b99f98f 100644
--- a/source/WindowsFormsApplication1/API.cs
+++ b/source/WindowsFormsApplication1/API.cs
@@ -83,7 +83,7 @@ namespace ShiftOS
/// to test new features or to bring in lots of codepoints. This is why
/// Developer mode should ALWAYS be off in non-dev releases, to prevent cheating.
/// </summary>
- public static bool DeveloperMode = true;
+ public static bool DeveloperMode = false;
/// <summary>
/// If this is true, only certain applications will open and only
@@ -1120,9 +1120,16 @@ namespace ShiftOS
/// </summary>
public static void UpdateWindows()
{
- foreach (WindowBorder brdr in BordersToUpdate)
+ try
{
- brdr.setupall();
+ foreach (WindowBorder brdr in BordersToUpdate)
+ {
+ brdr.setupall();
+ }
+ }
+ catch
+ {
+
}
}